Skip to content

Commit

Permalink
make the favicon setup way better
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 28, 2020
1 parent 155ab9a commit 714ba71
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
Binary file added static/favicon.ico
Binary file not shown.
Binary file added static/icons/180.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/icons/192.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/icons/512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions static/icons/icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions static/manifest.webmanifest
@@ -0,0 +1,6 @@
{
"icons": [
{"src": "/icons/192.png", "type": "image/png", "sizes": "192x192"},
{"src": "/icons/512.png", "type": "image/png", "sizes": "512x512"}
]
}
6 changes: 5 additions & 1 deletion templates/base.html
Expand Up @@ -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 %}">
Expand Down

0 comments on commit 714ba71

Please sign in to comment.