diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index cc0a0fc..7c27302 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -32,7 +32,7 @@
{{ partial "helper/icon" "date" }}
{{ end }} diff --git a/layouts/partials/article/components/footer.html b/layouts/partials/article/components/footer.html index 6853921..9795880 100644 --- a/layouts/partials/article/components/footer.html +++ b/layouts/partials/article/components/footer.html @@ -12,7 +12,7 @@
{{ partial "helper/icon" "clock" }} - {{ T "article.lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }} + {{ T "article.lastUpdatedOn" }} {{ .Lastmod | time.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
{{- end -}}