We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dd950 commit 37bb3d6Copy full SHA for 37bb3d6
layouts/shortcodes/build-date.html
@@ -1,3 +1,3 @@
1
-{{- /* Build-time date. `hugo.BuildDate` can be overridden (e.g. in CI) and may be empty in some contexts, so we fallback to `now`. */ -}}
2
-{{- (or hugo.BuildDate now) | time.Format "January 2, 2006" -}}
+{{- /* Render/build time (always). */ -}}
+{{- now | time.Format "January 2, 2006" -}}
3
0 commit comments