commit: eb447f684559432baa122f7fd8f7db3c7a5ab430
parent e3feb30348883f3d5872ff9ff89ae9a9e51a8abd
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 26 Jul 2022 19:24:31 +0200
Drop references to Gemini capsule
Diffstat:
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
@@ -16,11 +16,6 @@
</main>
<section class="comment">
- {{ with .OutputFormats.Get "gemtext" }}
- <p>
- ⇒ This article is also available <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">on gemini</a>.
- {{ end }}
-
{{ if not .Params.nocomment }}
<p>
Have a comment on one of my posts? Start a discussion in
diff --git a/layouts/index.html b/layouts/index.html
@@ -5,17 +5,13 @@
<h1>{{$.Title}}</h1>
{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
+ {{- if .OutputFormats.Get "html" }}
<div class="article">
<span class="date">{{.Date.Format "January 2, 2006"}}</span>
- {{- if .OutputFormats.Get "html" }}
<a href="{{.Permalink}}">{{.Title}}</a>
- {{- else if .OutputFormats.Get "gemtext" }}
- {{ with .OutputFormats.Get "gemtext" }}
- <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">{{end}}{{.Title}}</a>
- <small>[<a href="/gemini.html">what is gemini://?</a>]</small>
- {{ end }}
</div>
{{ end }}
+ {{ end }}
</section>
<aside>
@@ -28,8 +24,6 @@
<a class="rss" href="/blog/index.xml">rss</a>
·
<a href="misc.html">misc</a>
- ·
- <a href="gemini://drewdevault.com">gemini</a>
</div>
<dl class="external-links">