Skip to content

Commit

Permalink
Refactor favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Aug 1, 2024
1 parent 4331c3e commit 007a5e2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/_includes/global/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
%}

{# Favicon #}
<link rel="icon" sizes="32x32" href="{{'/assets/icons/favicon/favicon.ico' | url | safe}}">
<link rel="icon" type="image/svg+xml" href="{{'/assets/icons/favicon/HC-favicon.svg' | url | safe}}">
<link rel="apple-touch-icon" sizes="180x180" href="{{'/assets/icons/favicon/apple-touch-icon.png' | url | safe}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{'/assets/icons/favicon/favicon-32x32.png' | url | safe}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{'/assets/icons/favicon/favicon-16x16.png' | url | safe}}">
<link rel="manifest" href="{{'/assets/icons/favicon/site.webmanifest' | url | safe}}">

{# CSS #}
Expand Down
Binary file removed src/assets/icons/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed src/assets/icons/favicon/favicon-32x32.png
Binary file not shown.
20 changes: 19 additions & 1 deletion src/assets/icons/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

0 comments on commit 007a5e2

Please sign in to comment.