{{ $post := .GetPostByID (.GetQueryValue "id" "") -}} # {{ $post.Title }} {{ if ne $post.Description "" -}} > {{ $post.Description }} {{ end -}} {{ .PostBody $post }} -------------------------------------------------------------------------------- Published {{ $post.PublishedAt.Format "2006-01-02" }} {{- if $post.Series }} This post is part of a series! {{ $seriesNextPrev := .GetPostSeriesNextPrevious $post -}} {{ if $seriesNextPrev.Next -}} => /posts/{{ $seriesNextPrev.Next.ID }}.gmi Next: {{ $seriesNextPrev.Next.Title }} {{ end -}} {{ if $seriesNextPrev.Previous -}} => /posts/{{ $seriesNextPrev.Previous.ID }}.gmi Previously: {{ $seriesNextPrev.Previous.Title }} {{ end -}} {{ end }} ================================================================================ => /posts/ More posts => / Home