mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
fix(article): change .article-time
classname to .article-lastmod
(#306)
This commit is contained in:
parent
f07d5dc515
commit
bcbba1eed0
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue