1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-26 18:32:10 +00:00
seirdy.one/layouts/shortcodes/indieweb-icon.html

8 lines
306 B
HTML
Raw 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 -}}