From 55d7de3e96947c5ebb9bd3924a5233921bc52820 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Sun, 8 Apr 2018 21:41:56 +1000 Subject: [PATCH] Commits back the index.html in layouts from the private to public branch --- layouts/index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index dfb7518..d1fa9e8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,9 +4,10 @@ {{ define "content" -}}
- {{ range where .Data.Pages "Type" "posts" }} -
-

{{ .Title }}

+ {{ range (where .Data.Pages "Type" "!=" "about").GroupBy "Section" }} + {{ range .Pages }} +
+

{{ .Title }}{{ if .Draft }}{{ end }}

@@ -17,6 +18,7 @@
{{ end }}
+ {{- end -}} {{- end }}
{{- end }}