From 51fe7eca430ff70b626965bdd49f5e843963148b Mon Sep 17 00:00:00 2001 From: JP Appel Date: Mon, 11 Mar 2024 16:46:00 -0400 Subject: add favicon support --- layouts/_default/baseof.html | 5 +++++ static/site.webmanifest | 1 + 2 files changed, 6 insertions(+) create mode 100644 static/site.webmanifest diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8c47b26..3b9bdf9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,6 +5,11 @@ {{ .Title }} + + + + + {{ if .Params.math }} {{- partial "katex.html" . -}} diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..dfb4631 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/favicons/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/favicons/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} -- cgit v1.2.3