Merge pull request #178 from Mitrichius/add-post-link-to-dates

Add link to post for post date
This commit is contained in:
Dmitry Kolosov 2023-05-12 19:26:29 +02:00 committed by GitHub
commit 53cbfc5b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
<div class="post-info">
{{ 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 }}
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>