aboutsummaryrefslogtreecommitdiff
path: root/layouts/term
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
commit3acfe976299e0e4ba3b0105946e1729ed1fd4a7891c3fef668cbbd6ab38e5919 (patch)
tree978363087a5dd48089539d337c38adbda09e74d996caaf5b8bacfb8fe983f53c /layouts/term
parent44f878e5ff49d359a95cf38434259707f8078151896463a43e7a7f17dd390e0e (diff)
downloadhugo-theme-journal-3acfe976299e0e4ba3b0105946e1729ed1fd4a7891c3fef668cbbd6ab38e5919.tar.gz
hugo-theme-journal-3acfe976299e0e4ba3b0105946e1729ed1fd4a7891c3fef668cbbd6ab38e5919.zip
Remove timestamp obfuscation privacy feature
Timestamp obfuscation is a niche privacy feature which contradicts how users expect Hugo to work. If the user desires such a feature, they can override the theme with their own custom timestamp-obfuscating archetypes.
Diffstat (limited to 'layouts/term')
-rw-r--r--layouts/term/term.atom.xml2
-rw-r--r--layouts/term/term.gemini_atom.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index 4ef94d6..cbcbae8 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -44,7 +44,7 @@
<email>{{ . }}</email>{{ end }}
</author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
+ <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }}
<entry>
<id>{{ .Permalink }}</id>
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml
index 7afe36e..27126d7 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -44,7 +44,7 @@
<email>{{ . }}</email>{{ end }}
</author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
+ <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.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" }}</id>