1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/themes/etch-custom/layouts/_default/single.html

18 lines
463 B
HTML
Raw Normal View History

{{ 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 }}