add trailing slash for show more link

This commit is contained in:
W.T. Chang committed 2024-07-24 22:54:15 +08:00
1 parent 18ed67b2e6
commit 3751df66d6
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
{{ $recentArticles := 5 }}
{{ $showMoreLinkDest := "/posts" }}
{{ $showMoreLinkDest := "/posts/" }}
{{ if .Site.Params.homepage.showRecent | default false }}
{{ if index .Site.Params.homepage "showRecentItems" }}
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}