1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-24 05:02:10 +00:00
seirdy.one/themes/etch-custom/layouts/_default/single.html
rohan kumar 6040dca75a
Switch from <section> to <footer>
Sections should have headings, while this is actually a footer.
2020-12-11 12:02:33 -08:00

25 lines
945 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ define "main" }}
<article>
<header id="post-header">
<h1>{{ .Title }}</h1>
{{- if isset .Params "date" -}}
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
{{- end -}}
</header>
{{- .Content -}}
</article>
<br>
<hr>
<footer class="comment">
{{ with .OutputFormats.Get "gemtext" }}
<p>
View this article on <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">my Gemini capsule</a>
</p>
{{ end }}
<p>
<a href="mailto:~seirdy/seirdy.one-comments@lists.sr.ht">Send an email</a> to leave a comment in the <a href="https://lists.sr.ht/~seirdy/seirdy.one-comments">mailing list</a> for seirdy.one. You'll have to send in plain text; please <a href="https://useplaintext.email/">learn how.</a>. Alternatively, send your email <a href="mailto:seirdy@seirdy.one">directly to me</a>; it wont show up on the mailing list, but Ill see it.
</p>
</footer>
<hr>
{{ end }}