mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-15 09:52:10 +00:00
0b1a504b65
Switch away from inline images; they cause more problems than they're worth.
7 lines
306 B
HTML
7 lines
306 B
HTML
{{ $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 -}}
|