1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-17 22:32:10 +00:00
seirdy.one/layouts/index.gmi
rohan kumar 55543cf9b2
My gemlog deserves sane date formats too!
In the name of ISO 8601, RFC 3339, and sorting by number: ramen.
2020-11-25 22:38:16 -08:00

21 lines
683 B
Text

{{readFile (replace (replace $.File.Path ".md" ".gmi") ".html" ".gmi") | safeHTML}}
## Gemlog posts
{{ range (where .Site.RegularPages "Section" "posts") }}
{{- if .OutputFormats.Get "gemtext" }}
=> {{replace .Permalink "/gemini" "" 1}} {{ .Date.Format "2006-01-02" }}: {{.Title | safeHTML}}{{ end }}{{ end }}
=> posts/index.xml RSS feed
--
## Other versions of this website
=> https://seirdy.one Canonical WWW version
=> https://envs.net/%7Eseirdy Tildeverse "rough draft" WWW version
=> gemini://seirdy.one Canonical Gemini space
=> gemini://envs.net/%7Eseirdy Tildeverse "rough draft" Gemini space
{{ .Site.Params.copyright }}
=> {{ .Site.Params.src }} Website source code