1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
seirdy.one/layouts/shortcodes/indieweb-icon.html

8 lines
306 B
HTML
Raw Permalink Normal View History

{{ $favicon := "/favicon.svg" -}}
{{- if in site.BaseURL ".onion" -}}
{{- $favicon = "/favicon.png" -}}
{{- end -}}
{{- with (partialCached "cache-bust.html" "/favicon.png" "/favicon.png") -}}
<img itemprop="image" width="16" height="16" alt="" src="{{ .Permalink }}" class="u-photo photo" />
{{- end -}}