1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-30 15:22:09 +00:00
seirdy.one/layouts/posts/single.gmi
rohan kumar 33985223fa
Layout templates: RSS link, Gemini consistency
- Link RSS feed in the navbar
- Give gemlog a similar layout with the publication date at the top and
  a link to the source code at the bottom.
2020-11-24 21:55:49 -08:00

13 lines
347 B
Text

# {{$.Title | safeHTML}}
{{.Date.Format "January 2, 2006"}}
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
---
=> / Homepage{{ with .OutputFormats.Get "html" }}
=> {{.Permalink}} View “{{$.Title | safeHTML}}” on the WWW
{{- end }}
=> {{ .Site.Params.src }} Gemini capsule source code
{{ .Site.Params.copyright }}