
Because the offical fontawsome had update the font size, there will use new class of icon reference.
14 lines
688 B
HTML
14 lines
688 B
HTML
{{ if and .Site.Params.postMeta.updated.enable .Site.Params.postMeta.updated.anotherDay }}
|
|
{{ if and .Lastmod (gt .Lastmod .Date) }}
|
|
{{ $modTime := .Lastmod.Format .Site.Params.timeFormat }}
|
|
<span class="post-meta-item">
|
|
<span class="post-meta-item-icon">
|
|
<i class="fas fa-solid fa-calendar-check"></i>
|
|
</span>
|
|
<span class="post-meta-item-text" title="{{ T "PostMeta.lastmod.date" }}">
|
|
{{ print (T "PostMeta.lastmod.date") (T "Symbol.colon") }}
|
|
</span>
|
|
<time title="{{ print (T "PostMeta.lastmod.time") (T "Symbol.colon") }}{{ $modTime }}" itemprop="dateModified" datetime="{{ $modTime }}">{{ .Lastmod.Format .Site.Params.dateFormat }}</time>
|
|
</span>
|
|
{{ end }}
|
|
{{ end }} |