summaryrefslogtreecommitdiff
path: root/src/gmi/tpl/posts
diff options
context:
space:
mode:
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 -}}