mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 09:42:09 +00:00
957e4a9d10
- Add links to gemini versions of HTML pages - Fix footer link color Also snuck in removal of scrollbar coloring. Why was that there in the first place?
17 lines
463 B
HTML
17 lines
463 B
HTML
{{ define "main" }}
|
|
<article>
|
|
<header id="post-header">
|
|
<h1>{{ .Title }}</h1>
|
|
{{- if isset .Params "date" -}}
|
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
|
{{- end -}}
|
|
</header>
|
|
{{- .Content -}}
|
|
</article>
|
|
<section class="comment">
|
|
{{ with .OutputFormats.Get "gemtext" }}
|
|
<p>
|
|
⇒ View this article on <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">my Gemini capsule</a>.
|
|
{{ end }}
|
|
|
|
{{ end }}
|