From 3751df66d63d6373dc34c0d71b19fe7f63232033 Mon Sep 17 00:00:00 2001 From: "W.T. Chang" <1546333+wtchangdm@users.noreply.github.com> Date: Wed, 24 Jul 2024 22:41:21 +0800 Subject: [PATCH] add trailing slash for show more link --- layouts/partials/recent-articles/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/recent-articles/main.html b/layouts/partials/recent-articles/main.html index 856cb3fa5..65d722bb7 100644 --- a/layouts/partials/recent-articles/main.html +++ b/layouts/partials/recent-articles/main.html @@ -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 }}