aboutsummaryrefslogtreecommitdiff
path: root/layouts/taxonomy
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-08-16 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-08-17 00:00:00 +0000
commitf179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b (patch)
tree21e08941db322d6080a18f2f07d2507effc75e288c18274c0c995481f4b79298 /layouts/taxonomy
parent469317350742db76dec3ebd42a6e8631b3549a4fc44175895ea0e7518280669f (diff)
downloadhugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.tar.gz
hugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.zip
Remove extra safeURL calls in id elements
Diffstat (limited to 'layouts/taxonomy')
-rw-r--r--layouts/taxonomy/taxonomy.gemini_atom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml
index 6bd32ff..5eadc00 100644
--- a/layouts/taxonomy/taxonomy.gemini_atom.xml
+++ b/layouts/taxonomy/taxonomy.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" />