Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/date-and-tags.html')
-rw-r--r--layouts/partials/date-and-tags.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/date-and-tags.html b/layouts/partials/date-and-tags.html
index 1d6b1c2..5adf746 100644
--- a/layouts/partials/date-and-tags.html
+++ b/layouts/partials/date-and-tags.html
@@ -1,5 +1,5 @@
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
-{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
+{{ $dateFormat := site.Params.dateFormat | default "Jan 2, 2006" }}
<i data-feather="calendar"></i> <time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
{{ with .Params.tags }}
<br>