Skip to content

Commit

Permalink
Added a favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed May 12, 2024
1 parent a7176da commit 2d6a503
Show file tree
Hide file tree
Showing 15 changed files with 88 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _includes/custom-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% assign favicon_version = 1 %}
<link rel="apple-touch-icon" sizes="180x180" href="{% link /assets/favicon/apple-touch-icon.png %}?v={{ favicon_version }}">
<link rel="icon" type="image/png" sizes="32x32" href="{% link /assets/favicon/favicon-32x32.png %}?v={{ favicon_version }}">
<link rel="icon" type="image/png" sizes="16x16" href="{% link /assets/favicon/favicon-16x16.png %}?v={{ favicon_version }}">
<link rel="manifest" href="{% link assets/favicon/site.webmanifest %}?v={{ favicon_version }}">
<link rel="mask-icon" href="{% link /assets/favicon/safari-pinned-tab.svg %}?v={{ favicon_version }}" color="#c6a000">
<link rel="shortcut icon" href="{% link /assets/favicon/favicon.ico %}?v={{ favicon_version }}">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="{% link assets/favicon/browserconfig.xml %}?v={{ favicon_version }}">
<meta name="theme-color" content="#ffffff">
Binary file added assets/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions assets/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
---

{% assign favicon_version = 1 %}

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="{% link /assets/favicon/mstile-150x150.png %}?v={{ favicon_version }}"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added assets/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon.ico
Binary file not shown.
Binary file added assets/favicon/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions assets/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions assets/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
---

{% assign favicon_version = 1 %}

{
"name": "{{ site.title }}",
"short_name": "{{ site.title }}",
"icons": [
{
"src": "{% link /assets/favicon/android-chrome-192x192.png %}?v={{ favicon_version }}",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "{% link /assets/favicon/android-chrome-512x512.png %}?v={{ favicon_version }}",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

0 comments on commit 2d6a503

Please sign in to comment.