diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-03-11 16:46:00 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-03-11 16:46:00 -0400 |
| commit | 51fe7eca430ff70b626965bdd49f5e843963148b (patch) | |
| tree | 43dd4dbdf27953227070d7b695625513ba2140d9 | |
| parent | 7196deac510f7aa086bb233490fe8d51f47b9116 (diff) | |
add favicon support
| -rw-r--r-- | layouts/_default/baseof.html | 5 | ||||
| -rw-r--r-- | static/site.webmanifest | 1 |
2 files changed, 6 insertions, 0 deletions
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 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ .Title }}</title> <link rel="stylesheet" href="/css/styles.css"> + <!-- Favicons --> + <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png"> + <link rel="manifest" href="/site.webmanifest"> <!-- TODO --> {{ 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"} |
