mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
94bda64305
The only visible change to page display should be author names in webmentions. Besides that, this commit only alters the underlying markup to improve metadata extraction. - Add more microdata for webmentions, authors, dates, etc. - Add microformats2 for webmentions - Add authors to webmention text, when available.
4 lines
708 B
HTML
4 lines
708 B
HTML
<!-- re-using the indefinetly-cached favicon to avoid bloating page size -->
|
|
{{ $favicon := resources.Get "/favicon.png" -}}
|
|
{{- $favicon_base64 := $favicon.Content | base64Encode -}}
|
|
<span itemprop="author" itemscope itemtype="https://schema.org/Person" class="h-card p-author vcard"><a itemprop="url" href="https://seirdy.one" rel="author home" class="u-url url"><img itemprop="image" class="u-photo photo" src="data:image/png;base64,{{ $favicon_base64 }}" width="16" height="16" alt="Rohan Kumar"> <span itemprop="name" class="p-name fn n"><span itemprop="givenName" class="p-given-name given-name">Rohan</span> <span itemprop="familyName" class="p-family-name family-name">Kumar</span></span></a></span>
|