diff options
-rw-r--r-- | layouts/partials/sidebar.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 608ee8c..0124502 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -49,7 +49,13 @@ {{ if ge (len (where .Site.Pages "Type" "post")) ($.Scratch.Get "postLimit") }} <li> <ul class="actions"> - <li><a href="/post" class="button">View more posts</a></li> + <li><a href= + {{ with .Site.Params.viewMorePostLink }} + {{ . }} + {{ else }} + "/post" + {{ end }} + class="button">View more posts</a></li> </ul> </li> {{ end }} |