forked from Sync/hugo-theme-stack
fix(article): change .article-time
classname to .article-lastmod
(#306)
This commit is contained in:
parent
f07d5dc515
commit
bcbba1eed0
@ -71,7 +71,7 @@
|
||||
text-transform: unset;
|
||||
}
|
||||
|
||||
.article-copyright {
|
||||
.article-copyright, .article-lastmod {
|
||||
a {
|
||||
color: var(--body-text-color);
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user