diff --git a/layouts/index.html b/layouts/index.html index 161d206..f2d9c13 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 (where .Pages ".Params.private" "!=" true) .Data.Pages "Date" "desc")}}
{{ .PublishDate.Format "Jan. 2, 2006" }}

{{ .Title }}

@@ -37,4 +37,4 @@ Console is a minimal, responsive and light theme for Hugo inspired by Linux cons {{ end }}
-{{ end }} \ No newline at end of file +{{ end }}