aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r--layouts/post/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index fcda0dd..f19cb9b 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -53,14 +53,14 @@
<!-- Post Pagination -->
<nav class="post-nav">
{{ with .NextInSection -}}
- <a class="prev" href="{{ .URL }}">
+ <a class="prev" href="{{ .RelPermalink }}">
<i class="iconfont icon-left"></i>
<span class="prev-text nav-default">{{ .Title }}</span>
<span class="prev-text nav-mobile">{{ T "prevPost" }}</span>
</a>
{{- end }}
{{ with .PrevInSection -}}
- <a class="next" href="{{ .URL }}">
+ <a class="next" href="{{ .RelPermalink }}">
<span class="next-text nav-default">{{ .Title }}</span>
<span class="next-text nav-mobile">{{ T "nextPost" }}</span>
<i class="iconfont icon-right"></i>