diff options
Diffstat (limited to 'layouts/term/term.gmi')
-rw-r--r-- | layouts/term/term.gmi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi index 8d6158f..b2c7bcb 100644 --- a/layouts/term/term.gmi +++ b/layouts/term/term.gmi @@ -1,13 +1,13 @@ {{ define "main" -}} -=> {{ .Site.Home.RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ i18n "returnHome" }} +=> {{ .Site.Home.RelPermalink | strings.TrimSuffix "index.gmi" }} {{ emojify ":link:" }} {{ i18n "returnHome" }} -# {{ .Type | singularize | humanize | safeHTML }} "{{ .Title | safeHTML }}" +# {{ .Type | singularize | humanize }} "{{ .Title }}" ## {{ i18n "feeds" }} -=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }} +=> {{ .RelPermalink | replaceRE `index.gmi$` "atom.xml" }} {{ emojify ":link:" }} {{ i18n "atomFeed" }} ## {{ i18n "journalEntries" -}} |