summaryrefslogtreecommitdiff
path: root/layouts/_default/single.gmi
blob: 9681f92099b03db92000111bbb71b580eb1bc111e07efc781fa9b45e0eefe80f (plain)
1
2
3
4
5
6
{{ define "main" }}
=> ./{{ replaceRE ".+?/" "../" .RelPermalink }} Return to homepage

{{ $content := .RawContent }}
{{- $content = $content | replaceRE `\[(.+?)\]\((.+?)\)` "=> $2 $1" }}
{{- $content  }}{{ end }}