dracublog/layouts/blog/single.gmi

30 lines
880 B
Plaintext
Raw Normal View History

# {{ $.Title | safeHTML }}
2021-02-11 23:34:25 -05:00
{{ if ne .Lastmod .Date -}}
Published on {{ .Date.Format "Jan 02, 2006" }}, updated {{ dateFormat "2006-01-02" .Lastmod }}.
{{- else -}}
Published on {{ .Date.Format "Jan 02, 2006" }}.
2021-02-11 23:34:25 -05:00
{{- end }}
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
```ASCII
* . * . , *
. . . *
* . .' * , . . , *
. * .'
' . . * * .'.
. ' ' . . ' .
. * , * ' *
.
* . *
```
=> / Return to the homepage
2021-02-11 23:33:35 -05:00
{{- with .OutputFormats.Get "html" }}
=> {{ .Permalink }} See “{{ $.Title | safeHTML }}” on the WWW
2021-02-11 23:33:35 -05:00
{{- end }}
2021-02-19 10:30:25 -05:00
{{ with .Params.comments }}=> https://{{ .host }}/@{{ .user }}/{{ .id }} You may comment here{{ end }}
{{ .Site.Copyright }}