1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

Microdata: add image itemprop u-photo

This commit is contained in:
Rohan Kumar 2022-02-15 11:13:41 -08:00
parent cdecf4be9a
commit 0ef4a7f9a6
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,3 +1,3 @@
{{ $favicon := resources.Get "/favicon.png" -}}
{{- $favicon_base64 := $favicon.Content | base64Encode -}}
<img class="u-photo photo" src="data:image/png;base64,{{ $favicon_base64 }}" width="16" height="16" alt="Rohan Kumar">
<img itemprop="image" class="u-photo photo" src="data:image/png;base64,{{ $favicon_base64 }}" width="16" height="16" alt="">