mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 17:42:09 +00:00
1e7b2008e8
Inspired by the h-entry implementation on Charlie Owen's personal website: https://whalecoiner.com The u-photo re-uses the 32px favicon that the browser has already cached, so it shouldn't bloat up the page anymore. These changes required a bit of additional CSS. I snuck in come color changes too.
3 lines
271 B
HTML
3 lines
271 B
HTML
<!-- re-using the indefinetly-cached favicon to avoid bloating page size -->
|
|
{{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}}
|
|
<img class="u-photo" src="{{ $favicon.RelPermalink }}" width="1em" height="1em" type="image/png" alt="Rohan Kumar">
|