diff options
author | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-08-16 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-08-17 00:00:00 +0000 |
commit | f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b (patch) | |
tree | 21e08941db322d6080a18f2f07d2507effc75e288c18274c0c995481f4b79298 /layouts/term/term.gemini_atom.xml | |
parent | 469317350742db76dec3ebd42a6e8631b3549a4fc44175895ea0e7518280669f (diff) | |
download | hugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.tar.gz hugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.zip |
Remove extra safeURL calls in id elements
Diffstat (limited to 'layouts/term/term.gemini_atom.xml')
-rw-r--r-- | layouts/term/term.gemini_atom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml index a5d3dad..e02d2fe 100644 --- a/layouts/term/term.gemini_atom.xml +++ b/layouts/term/term.gemini_atom.xml @@ -47,7 +47,7 @@ <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights> <subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} <entry> - <id>{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" | safeURL }}</id> + <id>{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }}</id> <title>{{ .Title }}</title> <updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated> <link href="{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" | safeURL }}" rel="alternate" /> |