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 32d6347..e4b95fc 100644
--- a/archetypes/entry.md
+++ b/archetypes/entry.md
@@ -1,6 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
-date: {{ now.UTC.Format "2006-01-02T00:00:00Z" }}
+date: {{ now.Format "2006-01-02T15:04:05-0700" }}
draft: true
---
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 @@
<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 .Site.RegularPages }}
<entry>
<id>{{ .Permalink }}</id>
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 @@
<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 .Site.RegularPages }}
<entry>
<id>{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }}</id>
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 @@
<footer class="footer">
- <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</p>
+ <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.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 4ef94d6..cbcbae8 100644
--- a/layouts/taxonomy/taxonomy.atom.xml
+++ b/layouts/taxonomy/taxonomy.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/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 @@
<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>
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>