summaryrefslogtreecommitdiff
path: root/src/http/tpl/gemini-cta.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2024-05-18 18:29:19 +0200
committerBrian Picciano <mediocregopher@gmail.com>2024-05-18 18:29:19 +0200
commit0665d0c65974533fbd313f4e0b062b5103057aeb (patch)
tree5287795eed9767bd959a5139b77ef78b4024216d /src/http/tpl/gemini-cta.html
parentffa26298c95451639a6e01db6692d02d50b3d518 (diff)
Replace all URL rendering within templates by a URLConstructor
Diffstat (limited to 'src/http/tpl/gemini-cta.html')
-rw-r--r--src/http/tpl/gemini-cta.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/http/tpl/gemini-cta.html b/src/http/tpl/gemini-cta.html
index 89b8e8b..77c1114 100644
--- a/src/http/tpl/gemini-cta.html
+++ b/src/http/tpl/gemini-cta.html
@@ -2,11 +2,9 @@
<p>
This site can also be accessed via the gemini protocol:
- <a href="{{ BlogGeminiURL "/" | .URLIsSafe }}">
- {{ BlogGeminiURL "/" }}
- </a>
+ <a href="{{ .RootURL.Gemini.HTMLSafe }}">{{ .RootURL.Gemini.HTMLSafe }}</a>
</p>
<p>
- <a href="{{ PostURL "gemspace-tour" }}">What is gemini?</a>
+ <a href="{{ .RootURL.Post "gemspace-tour" }}">What is gemini?</a>
</p>