commit: 726c376a5738a653874cf7547a0900705a189f15
parent 3274dfa29afff7affbb00d3db293ff6ab9aaf0ed
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 1 Oct 2020 12:36:17 -0400
Add links to Gemini versions from applicable WWW posts
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
@@ -14,6 +14,12 @@
{{.Content}}
<section class="comment">
+ {{ with .OutputFormats.Get "gemtext" }}
+ <p>
+ ⇒ This article is also available <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">on gemini</a>.
+ {{ end }}
+
+ <p>
Have a comment on one of my posts? Start a discussion in my public inbox by
sending an email to
<a href="mailto:~sircmpwn/public-inbox@lists.sr.ht">~sircmpwn/public-inbox@lists.sr.ht</a>