diff --git a/layouts/index.html b/layouts/index.html index bcc4158..29f7803 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -44,9 +44,7 @@

Projects

{{ range first 6 (where .Data.Pages.ByDate "Section" "projects") }} - {{ if ne .Section "" }} - {{ partial "box.html" . }} - {{ end }} + {{ partial "box.html" . }} {{ end }}

All Projects

@@ -55,10 +53,8 @@

Recent Posts

- {{ range first 6 (where .Data.Pages.ByDate "Kind" "page") }} - {{ if ne .Section "" }} - {{ partial "box.html" . }} - {{ end }} + {{ range first 6 (where .Data.Pages.ByDate "Section" "!=" "") }} + {{ partial "box.html" . }} {{ end }}