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 | |
parent | 469317350742db76dec3ebd42a6e8631b3549a4fc44175895ea0e7518280669f (diff) | |
download | hugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.tar.gz hugo-theme-journal-f179f0ff2eaae30678ee8c9a591aa4d01a70200f3238891bf3cb664d742bbb8b.zip |
Remove extra safeURL calls in id elements
-rw-r--r-- | layouts/index.gemini_atom.xml | 2 | ||||
-rw-r--r-- | layouts/taxonomy/taxonomy.gemini_atom.xml | 2 | ||||
-rw-r--r-- | layouts/term/term.gemini_atom.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 754b0f8..a6abebc 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.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 .Site.RegularPages }} <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" /> 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" /> 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" /> |