summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 11:10:54 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 11:10:54 +0200
commit5188bea24cfd0e71032c921f916e612bd40fd9c4 (patch)
tree96a69147c1d02f0b2ddf235d0169aa0d8f60b401
parenta5f679b733e426648965b4a058d0fdbc902bfc9f (diff)
downloadgohugo-theme-ed-5188bea24cfd0e71032c921f916e612bd40fd9c4.tar.gz
Correct link to all posts
-rw-r--r--layouts/partials/mini-toc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/mini-toc.html b/layouts/partials/mini-toc.html
index 2681da4..6b52f47 100644
--- a/layouts/partials/mini-toc.html
+++ b/layouts/partials/mini-toc.html
@@ -24,7 +24,7 @@
{{ if gt $sectionCount $maxPosts }}
<p>
- <a href="{{ relref . "all-posts" }}">
+ <a href="{{ "all-posts" | relURL }}">
{{ i18n "all_publications" }}
<span aria-hidden="true">&rarr;</span>
</a>