remove links of the <time>

This commit is contained in:
Junyi Hou 2024-03-04 14:53:47 +08:00
parent ababd036b8
commit 90703b270f

View File

@ -7,9 +7,9 @@
<div class="post-info noselect">
{{ if .Params.date }}
<div class="post-date dt-published">
<a class="u-url" href="{{ .RelPermalink }}"><time datetime="{{ .Params.date.Format $machineDateFormat }}">
<time datetime="{{ .Params.date.Format $machineDateFormat }}">
{{- .Params.date.Format $dateFormat -}}
</time></a>
</time>
{{ if ne .Params.date .Params.lastMod -}}
[{{ i18n "lastMod" }} <time datetime="{{ .Params.lastMod.Format $machineDateFormat }}">
{{- .Params.lastMod.Format $dateFormat -}}