diff options
Diffstat (limited to 'src/gmi/tpl/feed.xml')
-rw-r--r-- | src/gmi/tpl/feed.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gmi/tpl/feed.xml b/src/gmi/tpl/feed.xml index aa596b7..2935327 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>{{ BlogGeminiURL "/" }}</id> + <id>{{ .RootURL.Absolute }}</id> {{ if gt (len $posts) 0 -}} <updated>{{ (index $posts 0).PublishedAt.Format "2006-01-02T15:04:05Z07:00" }}</updated> {{ end -}} - <link href="{{ BlogGeminiURL "/" }}"></link> + <link href="{{ .RootURL.Absolute }}"></link> <author> <name>mediocregopher</name> </author> @@ -15,8 +15,8 @@ <entry> <title>{{ .Title }}</title> <updated>{{ .PublishedAt.Format "2006-01-02T15:04:05Z07:00" }}</updated> - <id>{{ PostURLAbs .ID }}</id> - <link href="{{ PostURLAbs .ID }}" rel="alternate"></link> + <id>{{ $.RootURL.Absolute.Post .ID }}</id> + <link href="{{ $.RootURL.Absolute.Post .ID }}" rel="alternate"></link> {{ if .Description -}} <summary type="html">{{ .Description }}</summary> {{ end -}} |