make the favicon setup way better
parent
155ab9a72f
commit
714ba71c5a
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 1018 B |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="180px" height="180px" viewBox="0 0 180 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<style>
|
||||
rect.icon { fill: #78E2A0; }
|
||||
@media (prefers-color-scheme: dark) { rect.icon { fill: #455C4C; }}
|
||||
</style>
|
||||
<rect class="icon" x="0" y="0" width="180" height="180"></rect>
|
||||
</svg>
|
After Width: | Height: | Size: 400 B |
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"icons": [
|
||||
{"src": "/icons/192.png", "type": "image/png", "sizes": "192x192"},
|
||||
{"src": "/icons/512.png", "type": "image/png", "sizes": "512x512"}
|
||||
]
|
||||
}
|
|
@ -3,9 +3,13 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<link rel="icon" type="image/png" href="data:image/png;base64,">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel="icon" href="/icons/icon.svg" type="image/svg+xml" sizes="any">
|
||||
<link rel="apple-touch-icon" href="/icons/180.png">
|
||||
<link rel="manifest" href="/manifest.webmanifest">
|
||||
|
||||
<title>{% block title %}bytes.zone{% endblock %}</title>
|
||||
<link rel="canonical" href="{{ current_url | safe }}">
|
||||
<meta name="description" content="{% block description %}{{ config.description }}{% endblock %}">
|
||||
|
|
Reference in New Issue