summaryrefslogtreecommitdiff
path: root/src/http/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/tpl')
-rw-r--r--src/http/tpl/follow.html2
-rw-r--r--src/http/tpl/gemini-cta.html12
-rw-r--r--src/http/tpl/index.html2
-rw-r--r--src/http/tpl/post.html2
-rw-r--r--src/http/tpl/posts.html2
5 files changed, 20 insertions, 0 deletions
diff --git a/src/http/tpl/follow.html b/src/http/tpl/follow.html
index 132706b..88fee46 100644
--- a/src/http/tpl/follow.html
+++ b/src/http/tpl/follow.html
@@ -145,6 +145,8 @@ emailSubscribe.onclick = async () => {
</li>
</ul>
+{{ template "gemini-cta.html" . }}
+
{{ end }}
{{ template "base.html" . }}
diff --git a/src/http/tpl/gemini-cta.html b/src/http/tpl/gemini-cta.html
new file mode 100644
index 0000000..06e3a22
--- /dev/null
+++ b/src/http/tpl/gemini-cta.html
@@ -0,0 +1,12 @@
+<hr/>
+
+<p>
+ This site can also be accessed via the gemini protocol:
+ <a href="{{ BlogGeminiURL "/" | SafeURL }}">
+ {{ BlogGeminiURL "/" }}
+ </a>
+</p>
+<p>
+ <a href="{{ PostURL "gemspace-tour" }}">What is gemini?</a>
+</p>
+
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html
index fdaf43f..0e5b58e 100644
--- a/src/http/tpl/index.html
+++ b/src/http/tpl/index.html
@@ -50,6 +50,8 @@
<li><a href="https://yamakan.place/palestine/#">Radio alHara</a> is another great internet radio station.</li>
</ul>
+ {{ template "gemini-cta.html" . }}
+
{{ end }}
{{ template "base.html" . }}
diff --git a/src/http/tpl/post.html b/src/http/tpl/post.html
index efef203..db69302 100644
--- a/src/http/tpl/post.html
+++ b/src/http/tpl/post.html
@@ -38,6 +38,8 @@
</em></p>
{{ end }}
+{{ template "gemini-cta.html" . }}
+
{{ end }}
{{ template "base.html" . }}
diff --git a/src/http/tpl/posts.html b/src/http/tpl/posts.html
index e6d226b..0701459 100644
--- a/src/http/tpl/posts.html
+++ b/src/http/tpl/posts.html
@@ -30,6 +30,8 @@
</p>
{{ end }}
+ {{ template "gemini-cta.html" . }}
+
{{ end }}
{{ template "base.html" . }}