summaryrefslogtreecommitdiff
path: root/srv/src/api/tpl/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/api/tpl/index.html')
-rw-r--r--srv/src/api/tpl/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/srv/src/api/tpl/index.html b/srv/src/api/tpl/index.html
index b634169..946a3e4 100644
--- a/srv/src/api/tpl/index.html
+++ b/srv/src/api/tpl/index.html
@@ -5,7 +5,7 @@
{{ range .Payload.Posts }}
<li>
<h2>
- <a href="posts/{{ .HTTPPath }}">{{ .Title }}</a>
+ <a href="{{ PostURL .ID }}">{{ .Title }}</a>
</h2>
<span>{{ .PublishedAt.Format "2006-01-02" }}</span>
{{ if not .LastUpdatedAt.IsZero }}