summaryrefslogtreecommitdiff
path: root/src/http/tpl/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/tpl/post.html')
-rw-r--r--src/http/tpl/post.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/tpl/post.html b/src/http/tpl/post.html
index 46a24fc..1bda8c9 100644
--- a/src/http/tpl/post.html
+++ b/src/http/tpl/post.html
@@ -27,7 +27,7 @@
This post is part of a series.<br/>
{{ if $seriesNextPrev.Next }}
- Next: <a href="{{ PostURL $seriesNextPrev.Next.ID }}">{{ $seriesNextPrev.Next.Title }}</a>
+ Next: <a href="{{ .RootURL.Post $seriesNextPrev.Next.ID }}">{{ $seriesNextPrev.Next.Title }}</a>
{{ end }}
{{ if and $seriesNextPrev.Next $seriesNextPrev.Previous }}
@@ -35,7 +35,7 @@
{{ end }}
{{ if $seriesNextPrev.Previous }}
- Previously: <a href="{{ PostURL $seriesNextPrev.Previous.ID }}">{{ $seriesNextPrev.Previous.Title }}</a>
+ Previously: <a href="{{ .RootURL.Post $seriesNextPrev.Previous.ID }}">{{ $seriesNextPrev.Previous.Title }}</a>
<br/>
{{ end }}