From 00c748c353f704bb7ef0c3df0136c469a6cf6003 Mon Sep 17 00:00:00 2001 From: Rayjun0525 <92503959+Rayjun0525@users.noreply.github.com> Date: Sun, 7 May 2023 00:47:37 +0900 Subject: [PATCH] Retuching Code of See all posts button Apply by changing all publishing buttons to the code suggested by @kusyka911 --- layouts/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index af3997a8..002a71e4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,7 +17,9 @@

Recent Posts

{{ end }} {{ if gt (len $posts) 5 }}

- See all posts + {{ range $firstSection := (where .Site.Sections "Section" "in" (first 1 (.Site.Params.mainSections))) }} + See all posts + {{ end }}

{{ end }}