Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/sidebar.html8
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 }}