diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-01-24 12:40:32 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-01-24 12:45:10 +0100 |
commit | 6b3933282e3aa9803636b2ba580aced5c202eaa9 (patch) | |
tree | afee0d9661e964a3f6f2f782bd959333c4cdaa09 /src/gmi/tpl | |
parent | 63cc6cb217dadc2fa5aa8d55e054cdbad14df60a (diff) |
Refactor URL construction a bit
BlogHTTPURL and BlogGeminiURL are now used specifically to construct
absolute URLs to their respective endpoints.
Diffstat (limited to 'src/gmi/tpl')
-rw-r--r-- | src/gmi/tpl/feed.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"> <title>mediocregopher's lil web corner</title> - <id>{{ BlogURLAbs "/" }}</id> + <id>{{ BlogGeminiURL "/" }}</id> {{ if gt (len $posts) 0 -}} <updated>{{ (index $posts 0).PublishedAt.Format "2006-01-02T15:04:05Z07:00" }}</updated> {{ end -}} - <link href="{{ BlogURLAbs "/" }}"></link> + <link href="{{ BlogGeminiURL "/" }}"></link> <author> <name>mediocregopher</name> </author> |