diff options
Diffstat (limited to 'layouts/term/term.gmi')
-rw-r--r-- | layouts/term/term.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi index d3c5a2a..b2c7bcb 100644 --- a/layouts/term/term.gmi +++ b/layouts/term/term.gmi @@ -1,5 +1,5 @@ {{ define "main" -}} -=> {{ .Site.Home.RelPermalink | replaceRE `index.gmi$` "" }} {{ emojify ":link:" }} {{ i18n "returnHome" }} +=> {{ .Site.Home.RelPermalink | strings.TrimSuffix "index.gmi" }} {{ emojify ":link:" }} {{ i18n "returnHome" }} # {{ .Type | singularize | humanize }} "{{ .Title }}" |