diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6fea84d..8ab7a68 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,8 +4,9 @@ {{- $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" -}} {{ printf `` $icon_192.RelPermalink | safeHTML }} -{{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} -{{ printf `` $favicon.RelPermalink | safeHTML -}} +{{ $favicon := resources.Get "/favicon.png" -}} +{{ $favicon_base64 := $favicon.Content | base64Encode }} +{{ printf `` $favicon_base64 | safeHTML -}} diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index c762926..1b00f8e 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -1,3 +1,5 @@ -{{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} - +{{ $favicon := resources.Get "/favicon.png" -}} +{{- $favicon_base64 := $favicon.Content | base64Encode -}} + + diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html index c8496bb..3b16266 100644 --- a/layouts/shortcodes/indieweb-icon.html +++ b/layouts/shortcodes/indieweb-icon.html @@ -1,3 +1,3 @@ - -{{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} -Rohan Kumar +{{ $favicon := resources.Get "/favicon.png" -}} +{{- $favicon_base64 := $favicon.Content | base64Encode -}} +Rohan Kumar