diff --git a/layouts/index.html b/layouts/index.html index 161d206..a8e3bed 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@ Console is a minimal, responsive and light theme for Hugo inspired by Linux cons
{{ with .Site.GetPage "/posts" }} - {{ range first 3 ((where .Pages ".Params.private" "!=" true) sort .Data.Pages "Date" "desc")}} + {{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
{{ .PublishDate.Format "Jan. 2, 2006" }}

{{ .Title }}