style: update date color

This commit is contained in:
CDN 2023-05-06 10:00:38 +08:00
parent 49d5d48637
commit bbdd3c79bb
Signed by: cdn0x12
GPG key ID: CF7D420E4A155266

View file

@ -6,7 +6,7 @@
<a class="text-lg font-bold" href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ if .Site.Params.displayDate }}
<div class="text-sm font-bold whitespace-nowrap">{{ .Date | time.Format (T "timeformat") }}</div>
<div class="text-sm font-bold whitespace-nowrap" style="color:grey;">{{ .Date | time.Format (T "timeformat") }}</div>
{{ end }}
</div>
{{ if .Site.Params.displayDescription }}