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 }}