diff options
Diffstat (limited to 'srv/src/api/tpl/post.html')
-rw-r--r-- | srv/src/api/tpl/post.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/srv/src/api/tpl/post.html b/srv/src/api/tpl/post.html index c5c3c96..fadab3c 100644 --- a/srv/src/api/tpl/post.html +++ b/srv/src/api/tpl/post.html @@ -19,10 +19,10 @@ <p class="light"><em> This post is part of a series:<br/> {{ if .Payload.SeriesPrevious }} - Previously: <a href="{{ .Payload.SeriesPrevious.HTTPPath }}">{{ .Payload.SeriesPrevious.Title }}</a></br> + Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></br> {{ end }} {{ if .Payload.SeriesNext }} - Next: <a href="{{ .Payload.SeriesNext.HTTPPath }}">{{ .Payload.SeriesNext.Title }}</a></br> + Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br> {{ end }} </em></p> {{ end }} @@ -35,10 +35,10 @@ <p class="light"><em> If you liked this post, consider checking out other posts in the series:<br/> {{ if .Payload.SeriesPrevious }} - Previously: <a href="{{ .Payload.SeriesPrevious.HTTPPath }}">{{ .Payload.SeriesPrevious.Title }}</a></br> + Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></br> {{ end }} {{ if .Payload.SeriesNext }} - Next: <a href="{{ .Payload.SeriesNext.HTTPPath }}">{{ .Payload.SeriesNext.Title }}</a></br> + Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br> {{ end }} </em></p> {{ end }} |