summaryrefslogtreecommitdiff
path: root/src/gmi/tpl/posts
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2023-01-22 12:45:03 +0100
committerBrian Picciano <mediocregopher@gmail.com>2023-01-22 12:45:03 +0100
commit5b5a0438682ecb69bbc8d7cb9904ad4b049033a3 (patch)
treebf5a689a3df4cbf9bd6188928d79d67517be63b3 /src/gmi/tpl/posts
parent1cfdac5e8c2ac802275cb29ae9149c55547f38fb (diff)
Implement gemini atom feed
Diffstat (limited to 'src/gmi/tpl/posts')
-rw-r--r--src/gmi/tpl/posts/index.gmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmi/tpl/posts/index.gmi b/src/gmi/tpl/posts/index.gmi
index dd4c84c..9d0f6e2 100644
--- a/src/gmi/tpl/posts/index.gmi
+++ b/src/gmi/tpl/posts/index.gmi
@@ -9,7 +9,7 @@
{{ end -}}
{{ range $getPostsRes.Posts -}}
-=> /posts/{{ .ID }}.gmi {{ .PublishedAt.Format "2006-01-02" }} - {{ .Title }}
+=> {{ PostURL .ID }} {{ .PublishedAt.Format "2006-01-02" }} - {{ .Title }}
{{ end -}}