Small formatting fixes on gmi site

This commit is contained in:
Brian Picciano 2023-01-23 15:41:41 +01:00
parent acec797048
commit aba69d4329
3 changed files with 6 additions and 8 deletions

View File

@ -48,8 +48,6 @@ Feel free to hmu on any of these if you'd like to get in touch.
=> https://news.cryptic.io/ Cryptic News aggregates interesting blogs.
--------------------------------------------------------------------------------
I'm not affiliated with these, but they're worth listing.
=> https://search.marginalia.nu/ Marginalia reminds me of the old internet.

View File

@ -23,7 +23,7 @@ much as the quality!
{{ if $getPostsRes.HasMore -}}
=> {{ BlogURL "posts" }}/?page={{ .Add $page 1 }} Next page
{{ end }}
--------------------------------------------------------------------------------
================================================================================
=> {{ BlogURL "feed.xml" }} Subscribe to the RSS feed for updates

View File

@ -9,15 +9,14 @@
{{ .PostBody $post }}
--------------------------------------------------------------------------------
================================================================================
Published {{ $post.PublishedAt.Format "2006-01-02" }}
Published {{ $post.PublishedAt.Format "2006-01-02" }} by mediocregopher
{{- if $post.Series }}
This post is part of a series!
{{ $seriesNextPrev := .GetPostSeriesNextPrevious $post -}}
{{ if or $seriesNextPrev.Next $seriesNextPrev.Previous }}
This post is part of a series!
{{ if $seriesNextPrev.Next -}}
=> {{ BlogURL "posts" }}/{{ $seriesNextPrev.Next.ID }}.gmi Next in the series: {{ $seriesNextPrev.Next.Title }}
@ -27,6 +26,7 @@ This post is part of a series!
=> {{ BlogURL "posts" }}/{{ $seriesNextPrev.Previous.ID }}.gmi Prevous in the series: {{ $seriesNextPrev.Previous.Title }}
{{ end -}}
{{ end -}}
{{ end }}
=> {{ BlogURL "posts/" }} Browse all posts