1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/layouts/posts/single.gmi

20 lines
619 B
Text
Raw Normal View History

# {{$.Title | safeHTML}}
{{ $lastmod := .Lastmod -}}
{{ if lt .Date $lastmod -}}
2023-11-29 13:52:05 +00:00
Originally posted {{ .Date.UTC.Format "2006-01-02" }}. Last updated {{ .Lastmod.UTC.Format "2006-01-02" }}.
{{ else -}}
2023-11-29 13:52:05 +00:00
Posted {{ .Date.UTC.Format "2006-01-02" }}.
{{ end }}
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
---
=> {{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }} Article changelog
=> / Homepage{{ with .OutputFormats.Get "html" }}
=> {{.Permalink}} View “{{$.Title | safeHTML}}” on the WWW
{{- end }}
=> {{ .Site.Params.src }} Gemini capsule source code
{{ .Site.Params.copyright }}