add trailing slash for homepage.showMoreLinkDest

This commit is contained in:
W.T. Chang committed 2024-08-10 19:21:45 +08:00
1 parent 580f36f0de
commit c35242e912
6 files changed
+6 -6

No files matched your search

@@ -1,5 +1,5 @@
{{ $recentArticles := 5 }}
{{ $showMoreLinkDest := "/posts" }}
{{ $showMoreLinkDest := "/posts/" }}
{{ if index .Site.Params.homepage "showRecentItems" }}
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
{{ end }}