aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-16 13:45:53 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-16 13:45:53 +0200
commit757810d9118c4a678951443eb985f9c84047c11c (patch)
tree71151908b52a7e9d20c94f1b0634f4402c251342 /layouts
parentc78d7caf5b4986cf5d3b9673d4ac67fbaf97261e (diff)
downloadhugo-minimalist-theme-757810d9118c4a678951443eb985f9c84047c11c.tar.gz
hugo-minimalist-theme-757810d9118c4a678951443eb985f9c84047c11c.tar.bz2
hugo-minimalist-theme-757810d9118c4a678951443eb985f9c84047c11c.zip
Metadata post date is the date not the publish one
This is important for the future talks metadata where it makes a difference. There are in the future, but published when I prepare the entry.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/metadata.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index 0c68b3c..4a9129e 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -12,7 +12,7 @@
<br />
<i class="far fa-calendar"></i>
<time datetime="{{ $dateTime }}">
- {{ .PublishDate.Format $dateFormat }}
+ {{ .Date.Format $dateFormat }}
</time>
{{ with .Params.location }}
&mdash;