docs: add favicons and PWA manifest

This commit is contained in:
bastimeyer 2020-12-01 17:28:20 +01:00 committed by Forrest
parent 71cda12f67
commit f62dd98e43
7 changed files with 24 additions and 0 deletions

BIN
docs/_static/apple-touch-icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/_static/favicon-16x16.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

BIN
docs/_static/favicon-32x32.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
docs/_static/favicon.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
docs/_static/icon.svg vendored Symbolic link
View File

@ -0,0 +1 @@
../../icon.svg

14
docs/_static/site.webmanifest vendored Normal file
View File

@ -0,0 +1,14 @@
{
"name": "Streamlink documentation",
"short_name": "Streamlink",
"display": "standalone",
"theme_color": "#121657",
"background_color": "#ffffff",
"icons": [
{
"src": "/_static/icon.svg",
"sizes": "1x1",
"type": "image/svg"
}
]
}

9
docs/_templates/base.html vendored Normal file
View File

@ -0,0 +1,9 @@
{% extends '!base.html' %}
{%- block site_meta -%}
{{ super() }}
<link rel="apple-touch-icon" sizes="180x180" href="/_static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/_static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/_static/favicon-16x16.png">
<link rel="shortcut icon" href="/_static/favicon.ico">
<link rel="manifest" href="/_static/site.webmanifest">
{%- endblock -%}