From 54acd64ccb340b0795e5a0d2d25a24a5ff2055f6 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 20 Jun 2022 22:57:09 -0700 Subject: [PATCH] Back to SVG icon I fixed the sizing issue with a viewbox attribute. --- layouts/shortcodes/indieweb-icon.html | 8 ++------ static/favicon.svg | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html index ee18a6e..5e8e177 100644 --- a/layouts/shortcodes/indieweb-icon.html +++ b/layouts/shortcodes/indieweb-icon.html @@ -1,14 +1,10 @@ {{ $favicon := resources.Get "/favicon.png" -}} {{- $favicon_base64 := $favicon.Content | base64Encode -}} -{{- $favicon_bigpng := resources.Get "/favicon192.png" | resources.Fingerprint "md5" -}} {{- $favicon_svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" -}} {{- if in site.BaseURL ".onion" -}} {{- else -}} - - - - + {{- end }} diff --git a/static/favicon.svg b/static/favicon.svg index 116ea71..caf2374 100644 --- a/static/favicon.svg +++ b/static/favicon.svg @@ -1 +1 @@ - +