1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-24 05:02:10 +00:00
seirdy.one/layouts/partials/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 -}}