diff options
author | Henk Verlinde <henk@ventizo.com> | 2022-06-21 18:12:40 +0300 |
---|---|---|
committer | Henk Verlinde <henk@ventizo.com> | 2022-06-21 18:12:40 +0300 |
commit | 75d250b240fe75249cc5682362c3a964761a6473 (patch) | |
tree | 26288b458a865d73d90f318f6bd9576659b11b59 | |
parent | 8634857eaf0018394a509fcb719c6f9714576dcd (diff) |
meta: update favicons
-rw-r--r-- | layouts/partials/head/favicons.html | 7 | ||||
-rw-r--r-- | static/favicon.svg | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html index 76aeff2..93c5ed5 100644 --- a/layouts/partials/head/favicons.html +++ b/layouts/partials/head/favicons.html @@ -1,8 +1,9 @@ <meta name="theme-color" content="{{ $.Site.Params.themeColor }}"> -<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | absURL }}"> -{{ if os.FileExists "static/favicon.svg" }} +<link rel="icon" href="{{ "favicon.ico" | absURL }}" sizes="any"> +{{ if os.FileExists "static/favicon.svg" -}} <link rel="icon" type="image/svg+xml" href="{{ "favicon.svg" | absURL }}"> -{{ end }} +{{ end -}} +<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | absURL }}"> <link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | absURL }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | absURL }}"> <link rel="manifest" crossorigin="use-credentials" href="{{ "site.webmanifest" | absURL }}"> diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..4631bc5 --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#E1E8ED" d="M32.415 9.586l-9-9C23.054.225 22.553 0 22 0c-1.104 0-1.999.896-2 2 0 .552.224 1.053.586 1.415l-3.859 3.859 9 9 3.859-3.859c.362.361.862.585 1.414.585 1.104 0 2.001-.896 2-2 0-.552-.224-1.052-.585-1.414z"/><path fill="#CCD6DD" d="M22 0H7C4.791 0 3 1.791 3 4v28c0 2.209 1.791 4 4 4h22c2.209 0 4-1.791 4-4V11h-9c-1 0-2-1-2-2V0z"/><path fill="#99AAB5" d="M22 0h-2v9c0 2.209 1.791 4 4 4h9v-2h-9c-1 0-2-1-2-2V0zm-5 8c0 .552-.448 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h8c.552 0 1 .448 1 1zm0 4c0 .552-.448 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h8c.552 0 1 .448 1 1zm12 4c0 .552-.447 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h20c.553 0 1 .448 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1z"/></svg>
\ No newline at end of file |