diff --git a/README.md b/README.md index 53ad8b9..54036f2 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,12 @@ git submodule update --remote --merge ### 🎨 Favicon -Create `[SITEROOT]/layouts/partials/favicon.html` to cover theme's favicon. +Create `[SITEROOT]/layouts/partials/favicon.html` to cover theme's favicon. \ +See `exampleSite/layouts/partials/favicon.html` and `exampleSite\static\assets\favicon` for an example. You can generate your favicons in [realfavicongenerator.net](https://realfavicongenerator.net/). + ### ❌ License, toc and comments Globally in `config.toml`: diff --git a/exampleSite/layouts/partials/favicon.html b/exampleSite/layouts/partials/favicon.html index 9082336..b0cbebf 100644 --- a/exampleSite/layouts/partials/favicon.html +++ b/exampleSite/layouts/partials/favicon.html @@ -1,8 +1,5 @@ - - - - - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/exampleSite/static/assets/favicon/apple-touch-icon.png b/exampleSite/static/assets/favicon/apple-touch-icon.png new file mode 100644 index 0000000..de79b76 Binary files /dev/null and b/exampleSite/static/assets/favicon/apple-touch-icon.png differ diff --git a/exampleSite/static/assets/favicon/favicon-48x48.png b/exampleSite/static/assets/favicon/favicon-48x48.png new file mode 100644 index 0000000..ebe346a Binary files /dev/null and b/exampleSite/static/assets/favicon/favicon-48x48.png differ diff --git a/exampleSite/static/assets/favicon/favicon.ico b/exampleSite/static/assets/favicon/favicon.ico new file mode 100644 index 0000000..6e88a1c Binary files /dev/null and b/exampleSite/static/assets/favicon/favicon.ico differ diff --git a/exampleSite/static/assets/favicon/favicon.svg b/exampleSite/static/assets/favicon/favicon.svg new file mode 100644 index 0000000..8a8a3e1 --- /dev/null +++ b/exampleSite/static/assets/favicon/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/exampleSite/static/assets/favicon/site.webmanifest b/exampleSite/static/assets/favicon/site.webmanifest new file mode 100644 index 0000000..67d8762 --- /dev/null +++ b/exampleSite/static/assets/favicon/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "Hugo Theme Kita", + "short_name": "Kita", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/exampleSite/static/assets/favicon/web-app-manifest-192x192.png b/exampleSite/static/assets/favicon/web-app-manifest-192x192.png new file mode 100644 index 0000000..9fa2d9a Binary files /dev/null and b/exampleSite/static/assets/favicon/web-app-manifest-192x192.png differ diff --git a/exampleSite/static/assets/favicon/web-app-manifest-512x512.png b/exampleSite/static/assets/favicon/web-app-manifest-512x512.png new file mode 100644 index 0000000..86dfd56 Binary files /dev/null and b/exampleSite/static/assets/favicon/web-app-manifest-512x512.png differ diff --git a/static/img/og.png b/static/img/og.png index 894afe8..03b9911 100644 Binary files a/static/img/og.png and b/static/img/og.png differ