summaryrefslogtreecommitdiff
path: root/src/gmi/tpl/index.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmi/tpl/index.gmi')
-rw-r--r--src/gmi/tpl/index.gmi8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gmi/tpl/index.gmi b/src/gmi/tpl/index.gmi
index b854481..6a70607 100644
--- a/src/gmi/tpl/index.gmi
+++ b/src/gmi/tpl/index.gmi
@@ -2,16 +2,16 @@
This here's my little corner of the web, where I publish posts about projects I'm working on and things that interest me (which you can follow, if you like).
-=> {{ BlogURL "posts/" }} Browse all posts
+=> {{ .RootURL.Posts }} Browse all posts
{{ $getPostsRes := .GetPosts 0 1 -}}
{{ if gt (len $getPostsRes.Posts) 0 -}}
{{ $post := index $getPostsRes.Posts 0 -}}
-=> {{ PostURL $post.ID }} (Latest post: {{ $post.Title }})
+=> {{ .RootURL.Post $post.ID }} (Latest post: {{ $post.Title }})
{{ end -}}
-=> {{ BlogURL "feed.xml" }} RSS feed
+=> {{ .RootURL.Path "feed.xml" }} RSS feed
Below you'll find other information and links related to me.
@@ -21,7 +21,7 @@ Feel free to hmu over email or Signal if you'd like to get in touch.
=> mailto:me@mediocregopher Email: me@mediocregopher.com
-=> {{ BlogURL "me@mediocregopher.com.gpg" }} GPG Key
+=> {{ .RootURL.Path "me@mediocregopher.com.gpg" }} GPG Key
=> https://signal.me/#eu/x5psueq2E3WfFwwEgFDoWeSZx9k4u8vFBaiMSa4Lo0cvluHkb-dIpJp1wfdJsdie Signal: mediocregopher.01