From 3acfe976299e0e4ba3b0105946e1729ed1fd4a7891c3fef668cbbd6ab38e5919 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: 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. --- layouts/index.atom.xml | 2 +- layouts/index.gemini_atom.xml | 2 +- layouts/partials/footer.gmi | 2 +- layouts/partials/footer.html | 2 +- layouts/taxonomy/taxonomy.atom.xml | 2 +- layouts/taxonomy/taxonomy.gemini_atom.xml | 2 +- layouts/term/term.atom.xml | 2 +- layouts/term/term.gemini_atom.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'layouts') diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index 62df481..0d988ee 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.atom.xml @@ -44,7 +44,7 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} {{ .Permalink }} diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 09e2bc1..de1478b 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.gemini_atom.xml @@ -44,7 +44,7 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} {{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }} diff --git a/layouts/partials/footer.gmi b/layouts/partials/footer.gmi index 957c9d0..338e88e 100644 --- a/layouts/partials/footer.gmi +++ b/layouts/partials/footer.gmi @@ -1 +1 @@ -{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") | safeHTML }} \ No newline at end of file +{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 00194b2..5f8ffc6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@
- +
\ No newline at end of file diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml index 4ef94d6..cbcbae8 100644 --- a/layouts/taxonomy/taxonomy.atom.xml +++ b/layouts/taxonomy/taxonomy.atom.xml @@ -44,7 +44,7 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} {{ .Permalink }} diff --git a/layouts/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml index 60bc51b..dc08a54 100644 --- a/layouts/taxonomy/taxonomy.gemini_atom.xml +++ b/layouts/taxonomy/taxonomy.gemini_atom.xml @@ -44,7 +44,7 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} {{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }} 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 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} {{ .Permalink }} 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 @@ {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io - {{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} {{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }} -- cgit v1.2.3