Add simple favicon

This commit is contained in:
vas3k
2020-01-05 12:51:10 +01:00
parent d2258d962f
commit cf09016332
9 changed files with 10 additions and 8 deletions

View File

@@ -33,8 +33,8 @@ server {
real_ip_header X-Forwarded-For;
real_ip_recursive on;
rewrite ^/favicon.ico$ https://infomate.club/static/images/favicon.ico;
rewrite ^/favicon.png$ https://infomate.club/static/images/favicon.png;
rewrite ^/favicon.ico$ https://infomate.club/static/images/favicon/favicon.ico;
rewrite ^/favicon.png$ https://infomate.club/static/images/favicon/favicon-32x32.png;
access_log /home/vas3k/infomate.club/logs/access.log;
error_log /home/vas3k/infomate.club/logs/error.log;

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1 @@
{"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"}

View File

@@ -1,7 +1,8 @@
{% load staticfiles %}
<link rel="icon" type="image/png" href="{% static "images/favicon_32.png" %}" sizes="32x32">
<link rel="icon" type="image/png" href="{% static "images/favicon_64.png" %}" sizes="64x64">
<link rel="icon" type="image/png" href="{% static "images/favicon_128.png" %}" sizes="128x128">
<link rel="shortcut icon" type="image/png" href="{% static "images/favicon_square.png" %}">
<link rel="apple-touch-icon" type="image/png" href="{% static "images/favicon_square.png" %}">
<link rel="mask-icon" href="{% static "images/favicon_128.png" %}" color="#5954ca">
<link rel="icon" type="image/png" href="{% static "images/favicon/favicon-16x16.png" %}" sizes="16x16">
<link rel="icon" type="image/png" href="{% static "images/favicon/favicon-32x32.png" %}" sizes="32x32">
<link rel="icon" type="image/png" href="{% static "images/favicon/android-chrome-192x192.png" %}" sizes="192x192">
<link rel="shortcut icon" type="image/png" href="{% static "images/favicon/apple-touch-icon.png" %}">
<link rel="apple-touch-icon" type="image/png" href="{% static "images/favicon/apple-touch-icon.png" %}">
<link rel="mask-icon" href="{% static "images/favicon/android-chrome-192x192.png" %}" color="#333333">
<link rel="manifest" href="{% static "images/favicon/site.webmanifest" %}">