From 4f04b611d39f45dce8292759cefdcd0b14ae681e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 8 Jun 2017 22:14:51 +0100 Subject: [PATCH] Show just blog posts in index --- layouts/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index d78c2f9..4c7a0da 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -71,10 +71,11 @@

Recent Posts

- {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "!=" "") }} + {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }} {{ partial "box.html" . }} {{ end }}
+

All Posts

{{ partial "page_end.html" . }}