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

29 lines
1.7 KiB
HTML
Raw Normal View History

{{ define "main" }}
2020-12-29 00:56:52 +00:00
<article itemscope itemtype="https://schema.org/Article" class="h-entry">
<header id="post-header">
2020-12-29 00:56:52 +00:00
<h1 itemprop="name headline" class="p-hame">{{ .Title }}</h1>
{{ $lastmod := .Lastmod -}}
{{ if lt .Date $lastmod -}}
2020-12-29 00:56:52 +00:00
Originally posted <time class="dt-published" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time> by <a itemprop="author" class="p-author h-card" href="https://seirdy.one" rel="author">{{ .Site.Author.name }}</a>.<br>
Last updated <time itemprop="dateModified" class="dt-updated" datetime="{{ $lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>. <a href="{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}">Changelog</a>
{{ else -}}
2020-12-29 00:56:52 +00:00
Posted <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>.
{{ end }}
</header>
2020-12-29 00:56:52 +00:00
<section itemprop="articlebody">
{{ .Content -}}
</section>
</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>
2020-11-25 08:43:39 +00:00
{{ end }}