From d7507d2def1d2f1f84b4bdcff2a521733ded6312 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 10 Aug 2023 16:56:51 +0200 Subject: Clean up homepage, add ghost to gmi, make separator smaller --- src/gmi/tpl/posts/index.gmi | 4 ++-- src/gmi/tpl/posts/post.gmi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gmi/tpl/posts') diff --git a/src/gmi/tpl/posts/index.gmi b/src/gmi/tpl/posts/index.gmi index cf83052..2ff296a 100644 --- a/src/gmi/tpl/posts/index.gmi +++ b/src/gmi/tpl/posts/index.gmi @@ -1,4 +1,4 @@ -# mediocregopher's Posts +# 👻 mediocregopher's Posts {{ $page := .GetQueryIntValue "page" 0 -}} @@ -22,7 +22,7 @@ Here you'll find an archive of all published posts. The content varies almost as {{ if $getPostsRes.HasMore -}} => {{ BlogURL "posts" }}/?page={{ .Add $page 1 }} Next page {{ end }} -================================================================================ +======================================== => {{ BlogURL "feed.xml" }} RSS feed diff --git a/src/gmi/tpl/posts/post.gmi b/src/gmi/tpl/posts/post.gmi index 99cfd86..0234395 100644 --- a/src/gmi/tpl/posts/post.gmi +++ b/src/gmi/tpl/posts/post.gmi @@ -7,7 +7,7 @@ This post has been translated from it's original markdown format, if it seems bu {{ end -}} -# {{ $post.Title }} +# 👻 {{ $post.Title }} {{ if ne $post.Description "" -}} > {{ $post.Description }} @@ -16,7 +16,7 @@ This post has been translated from it's original markdown format, if it seems bu {{ .PostBody $post }} -================================================================================ +======================================== Published {{ $post.PublishedAt.Format "2006-01-02" }} by mediocregopher -- cgit v1.2.3