fix(article): change .article-time classname to .article-lastmod (#306)

This commit is contained in:
zhixuan 2021-08-15 18:12:56 +09:00 committed by GitHub
parent f07d5dc515
commit bcbba1eed0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@
text-transform: unset; text-transform: unset;
} }
.article-copyright { .article-copyright, .article-lastmod {
a { a {
color: var(--body-text-color); color: var(--body-text-color);
} }

View file

@ -9,9 +9,9 @@
{{ end }} {{ end }}
{{- if ne .Lastmod .Date -}} {{- if ne .Lastmod .Date -}}
<section class="article-time"> <section class="article-lastmod">
{{ partial "helper/icon" "clock" }} {{ 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" ) }} {{ T "article.lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</span> </span>
</section> </section>