add link to post for post date

This commit is contained in:
Dmitry Kolosov 2023-05-12 19:25:51 +02:00
parent a9272e10f0
commit b663c7eb74

View File

@ -5,7 +5,7 @@
<div class="post-info"> <div class="post-info">
{{ if .Params.date }} {{ if .Params.date }}
<div class="post-date dt-published">{{ .Params.date.Format $dateFormat }}</div> <div class="post-date dt-published"><a class="u-url" href="{{ .RelPermalink }}">{{ .Params.date.Format $dateFormat }}<a/></div>
{{ end }} {{ end }}
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a> <a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>