mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Support comments via a Sourcehut mailing list
This commit is contained in:
parent
73591727c8
commit
00930bcbc5
1 changed files with 19 additions and 12 deletions
|
@ -1,17 +1,24 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article>
|
||||||
<header id="post-header">
|
<header id="post-header">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{- if isset .Params "date" -}}
|
{{- if isset .Params "date" -}}
|
||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</header>
|
</header>
|
||||||
{{- .Content -}}
|
{{- .Content -}}
|
||||||
</article>
|
</article>
|
||||||
|
<br>
|
||||||
|
<hr>
|
||||||
<section class="comment">
|
<section class="comment">
|
||||||
{{ with .OutputFormats.Get "gemtext" }}
|
{{ with .OutputFormats.Get "gemtext" }}
|
||||||
<p>
|
<p>
|
||||||
⇒ View this article on <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">my Gemini capsule</a>.
|
View this article on <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">my Gemini capsule</a>
|
||||||
{{ end }}
|
</p>
|
||||||
|
{{ end }}
|
||||||
|
<p>
|
||||||
|
<a href="mailto:~seirdy/seirdy.one@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
|
||||||
|
</p>
|
||||||
|
<hr>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue