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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhixuan <59254886+zhixuan666@users.noreply.github.com>2021-08-15 12:12:56 +0300
committerGitHub <noreply@github.com>2021-08-15 12:12:56 +0300
commitbcbba1eed08faf1c8a479cbfe550b59307d9bfe5 (patch)
treef2058ced0b1a9c03974fa8841cf035bd32884044 /layouts
parentf07d5dc515d7c5a9d41fa3339e4ad735d09e21cd (diff)
fix(article): change `.article-time` classname to `.article-lastmod` (#306)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/article/components/footer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/article/components/footer.html b/layouts/partials/article/components/footer.html
index c6a7662..6853921 100644
--- a/layouts/partials/article/components/footer.html
+++ b/layouts/partials/article/components/footer.html
@@ -9,9 +9,9 @@
{{ end }}
{{- if ne .Lastmod .Date -}}
- <section class="article-time">
+ <section class="article-lastmod">
{{ partial "helper/icon" "clock" }}
- <span class="article-time--modified">
+ <span>
{{ T "article.lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</span>
</section>