From 6b3933282e3aa9803636b2ba580aced5c202eaa9 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 24 Jan 2023 12:40:32 +0100 Subject: Refactor URL construction a bit BlogHTTPURL and BlogGeminiURL are now used specifically to construct absolute URLs to their respective endpoints. --- src/gmi/tpl/feed.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gmi/tpl/feed.xml') diff --git a/src/gmi/tpl/feed.xml b/src/gmi/tpl/feed.xml index a33e42f..aa596b7 100644 --- a/src/gmi/tpl/feed.xml +++ b/src/gmi/tpl/feed.xml @@ -3,11 +3,11 @@ mediocregopher's lil web corner - {{ BlogURLAbs "/" }} + {{ BlogGeminiURL "/" }} {{ if gt (len $posts) 0 -}} {{ (index $posts 0).PublishedAt.Format "2006-01-02T15:04:05Z07:00" }} {{ end -}} - + mediocregopher -- cgit v1.2.3