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/gemini-cta.html | |
parent | ffa26298c95451639a6e01db6692d02d50b3d518 (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.html | 6 |
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> |