summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archetypes/entry.md2
-rw-r--r--layouts/index.atom.xml2
-rw-r--r--layouts/index.gemini_atom.xml2
-rw-r--r--layouts/partials/footer.gmi2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/taxonomy/taxonomy.atom.xml2
-rw-r--r--layouts/taxonomy/taxonomy.gemini_atom.xml2
-rw-r--r--layouts/term/term.atom.xml2
-rw-r--r--layouts/term/term.gemini_atom.xml2
9 files changed, 9 insertions, 9 deletions
diff --git a/archetypes/entry.md b/archetypes/entry.md
index 46d491a..32d6347 100644
--- a/archetypes/entry.md
+++ b/archetypes/entry.md
@@ -1,6 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
-date: {{ dateFormat "2006-01-02T00:00:00" .Date }}
+date: {{ now.UTC.Format "2006-01-02T00:00:00Z" }}
draft: true
---
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index f7abe7e..ac3b1e5 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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 }}</id>
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index dc1b563..ca6001e 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id>
diff --git a/layouts/partials/footer.gmi b/layouts/partials/footer.gmi
index 338e88e..957c9d0 100644
--- a/layouts/partials/footer.gmi
+++ b/layouts/partials/footer.gmi
@@ -1 +1 @@
-{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }} \ No newline at end of file
+{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") | safeHTML }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 5f8ffc6..00194b2 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,3 +1,3 @@
<footer class="footer">
- <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") }}</p>
+ <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</p>
</footer> \ No newline at end of file
diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml
index c0c9f6e..4d8b8e4 100644
--- a/layouts/taxonomy/taxonomy.atom.xml
+++ b/layouts/taxonomy/taxonomy.atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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 }}</id>
diff --git a/layouts/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml
index 85ff034..97542a4 100644
--- a/layouts/taxonomy/taxonomy.gemini_atom.xml
+++ b/layouts/taxonomy/taxonomy.gemini_atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id>
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index c0c9f6e..4d8b8e4 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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 }}</id>
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml
index 85ff034..97542a4 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -10,7 +10,7 @@
<email>{{ .Site.Author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
- <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights>
+ <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>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id>