From 5aec76f7c71b3228bd8d8f13f8931a8904257c76 Mon Sep 17 00:00:00 2001 From: litao3rd Date: Wed, 27 May 2020 16:39:00 +0000 Subject: [PATCH] bugfixed --- layouts/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}