diff --git a/layouts/index.html b/layouts/index.html index 32df65a5..569eb3af 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,13 +7,17 @@ you like. The source code is also available in the corresponding Github repository.

-

Latest post: {{ range first 1 .Site.Pages }} +

Latest post: {{ range first 1 (where .Site.Pages "Section" "post") }} {{ .Title }} {{ end }}

- {{ range .Site.Pages.ByDate }} + {{ range first 4 (where .Site.Pages.ByDate "Section" "post") }} + {{ .Render "teaser" }} + {{ end }} +
+ {{ range first 4 (after 4 (where .Site.Pages.ByDate "Section" "post")) }} {{ .Render "teaser" }} {{ end }}