diff --git a/layouts/partials/indieweb-icon.html b/layouts/partials/indieweb-icon.html
index 72ebf74..dc97f41 100644
--- a/layouts/partials/indieweb-icon.html
+++ b/layouts/partials/indieweb-icon.html
@@ -1,10 +1,7 @@
-{{- $src := "" -}}
+{{ $favicon := "/favicon.svg" -}}
{{- if in site.BaseURL ".onion" -}}
-{{- $favicon := resources.Get "/favicon.png" -}}
-{{- $favicon_base64 := $favicon.Content | base64Encode -}}
-{{- $src = printf "data:image/png;base64,%s" $favicon_base64 -}}
-{{- else -}}
-{{- with (partialCached "cache-bust.html" "/favicon.svg" "/favicon.svg") -}}
-{{- $src = .Permalink -}}
-{{- end -}}{{- end -}}
-
+ {{- $favicon = "/favicon.png" -}}
+{{- end -}}
+{{- with (partialCached "cache-bust.html" "/favicon.png" "/favicon.png") -}}
+
+{{- end -}}
diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html
index 72ebf74..dc97f41 100644
--- a/layouts/shortcodes/indieweb-icon.html
+++ b/layouts/shortcodes/indieweb-icon.html
@@ -1,10 +1,7 @@
-{{- $src := "" -}}
+{{ $favicon := "/favicon.svg" -}}
{{- if in site.BaseURL ".onion" -}}
-{{- $favicon := resources.Get "/favicon.png" -}}
-{{- $favicon_base64 := $favicon.Content | base64Encode -}}
-{{- $src = printf "data:image/png;base64,%s" $favicon_base64 -}}
-{{- else -}}
-{{- with (partialCached "cache-bust.html" "/favicon.svg" "/favicon.svg") -}}
-{{- $src = .Permalink -}}
-{{- end -}}{{- end -}}
-
+ {{- $favicon = "/favicon.png" -}}
+{{- end -}}
+{{- with (partialCached "cache-bust.html" "/favicon.png" "/favicon.png") -}}
+
+{{- end -}}