Make author an h-card

This commit is contained in:
JP Hastings-Spital 2023-08-02 17:59:27 +01:00
parent 5633505acd
commit 6a77e2bb06

View file

@ -9,9 +9,9 @@
</svg>
{{ i18n "readingTime" .Page.ReadingTime }}
</p>
<p class="author" aria-hidden="true">
<p class="author h-card" aria-hidden="true">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author">{{ .Site.Author.name }}</a>
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Author.name }}</a>
</p>
</div>