diff options
Diffstat (limited to 'src/gmi/tpl/posts/post.gmi')
-rw-r--r-- | src/gmi/tpl/posts/post.gmi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gmi/tpl/posts/post.gmi b/src/gmi/tpl/posts/post.gmi index 7d1719b..e95cb53 100644 --- a/src/gmi/tpl/posts/post.gmi +++ b/src/gmi/tpl/posts/post.gmi @@ -4,6 +4,7 @@ {{ if ne $post.Description "" -}} > {{ $post.Description }} + {{ end -}} {{ .PostBody $post }} @@ -19,15 +20,14 @@ This post is part of a series! {{ $seriesNextPrev := .GetPostSeriesNextPrevious $post -}} {{ if $seriesNextPrev.Next -}} -=> /posts/{{ $seriesNextPrev.Next.ID }}.gmi Next: {{ $seriesNextPrev.Next.Title }} +=> {{ BlogURL "posts" }}/{{ $seriesNextPrev.Next.ID }}.gmi Next in the series: {{ $seriesNextPrev.Next.Title }} {{ end -}} {{ if $seriesNextPrev.Previous -}} -=> /posts/{{ $seriesNextPrev.Previous.ID }}.gmi Previously: {{ $seriesNextPrev.Previous.Title }} +=> {{ BlogURL "posts" }}/{{ $seriesNextPrev.Previous.ID }}.gmi Prevous in the series: {{ $seriesNextPrev.Previous.Title }} {{ end -}} {{ end }} -================================================================================ +=> {{ BlogURL "posts/" }} Browse all posts -=> /posts/ More posts -=> / Home +{{ template "footer.gmi" . }} |