diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-05-18 18:29:19 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-05-18 18:29:19 +0200 |
commit | 0665d0c65974533fbd313f4e0b062b5103057aeb (patch) | |
tree | 5287795eed9767bd959a5139b77ef78b4024216d /src/http/tpl/index.html | |
parent | ffa26298c95451639a6e01db6692d02d50b3d518 (diff) |
Replace all URL rendering within templates by a URLConstructor
Diffstat (limited to 'src/http/tpl/index.html')
-rw-r--r-- | src/http/tpl/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html index 7f6399a..2685f4f 100644 --- a/src/http/tpl/index.html +++ b/src/http/tpl/index.html @@ -2,9 +2,9 @@ <p> This here's my little corner of the web, where I publish - <a href="{{ BlogURL "posts" }}">posts</a> + <a href="{{ .RootURL.Posts }}">posts</a> about projects I'm working on and things that interest me (which you can - <a href="{{ BlogURL "follow" }}">follow</a>, + <a href="{{ .RootURL.Path "follow" }}">follow</a>, if you like). </p> @@ -12,7 +12,7 @@ <p>Feel free to hmu over email or Signal if you'd like to get in touch.</p> <ul> <li>Email: <a href="mailto:me@mediocregopher.com">me@mediocregopher.com</a></li> - <li><a href="{{ StaticURL "me@mediocregopher.com.gpg" }}">GPG Key</a></li> + <li><a href="{{ .RootURL.Static "me@mediocregopher.com.gpg" }}">GPG Key</a></li> <li>Signal: <a href="https://signal.me/#eu/x5psueq2E3WfFwwEgFDoWeSZx9k4u8vFBaiMSa4Lo0cvluHkb-dIpJp1wfdJsdie"> mediocregopher.01 |