switched to favicons generated from realfavicongenerator.net, removed browserconfig.xml, manifest.json is now site.webmanifest
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 298 B |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 413 B |
|
Before Width: | Height: | Size: 570 B |
|
Before Width: | Height: | Size: 862 B |
|
Before Width: | Height: | Size: 927 B |
BIN
content/images/favicon/favicon-96x96.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
21
content/images/favicon/site.webmanifest
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Tobias Radloff, Schriftsteller",
|
||||
"short_name": "TR",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/images/favicon/web-app-manifest-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/images/favicon/web-app-manifest-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#525f7a",
|
||||
"background_color": "#525f7a",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -2,7 +2,7 @@
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
<FilesMatch "((^$)|(^.+\.(html|php|js|css|png|jpg|svg|webp|gif|ico|pdf|otf|json|txt|xml)$))">
|
||||
<FilesMatch "((^$)|(^.+\.(html|php|js|css|png|jpg|svg|webp|gif|ico|pdf|otf|json|txt|xml|webmanifest)$))">
|
||||
Require all granted
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
@ -34,7 +34,8 @@ STATIC_PATHS = ["images", "misc"]
|
||||
IGNORE_FILES = ['**/.*', '__pycache__', 'favicon-from-svg.sh', '*.metadata']
|
||||
|
||||
EXTRA_PATH_METADATA = {
|
||||
'images/favicon/favicon.ico': {'path': 'favicon.ico'},
|
||||
# 'images/favicon/favicon.ico': {'path': 'favicon.ico'},
|
||||
'images/favicon/browserconfig.xml': {'path': 'browserconfig.xml'},
|
||||
'misc/functions.php': {'path': 'functions.php'},
|
||||
'misc/subscribe.php': {'path': 'newsletter/subscribe.php'},
|
||||
'misc/confirm.php': {'path': 'newsletter/confirm.php'},
|
||||
|
||||
@ -1,23 +1,6 @@
|
||||
<!-- basic svg -->
|
||||
<link rel="icon" type="image/png" href="/images/favicon/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/svg+xml" href="/images/favicon/favicon.svg" />
|
||||
<!-- generics -->
|
||||
<link rel="icon" href="/images/favicon/favicon-16.png" sizes="16x16" />
|
||||
<link rel="icon" href="/images/favicon/favicon-32.png" sizes="32x32" />
|
||||
<link rel="icon" href="/images/favicon/favicon-48.png" sizes="48x48" />
|
||||
<link rel="icon" href="/images/favicon/favicon-128.png" sizes="128x128" />
|
||||
<link rel="icon" href="/images/favicon/favicon-192.png" sizes="192x192" />
|
||||
<!-- .ico files -->
|
||||
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||
<!-- Android -->
|
||||
<link rel="shortcut icon" href="/images/favicon/favicon-192.png" sizes="192x192" />
|
||||
<link rel="manifest" href="/images/favicon/manifest.json" />
|
||||
<!-- iOS -->
|
||||
<link rel="apple-touch-icon" href="/images/favicon/favicon-76.png" sizes="76x76" />
|
||||
<link rel="apple-touch-icon" href="/images/favicon/favicon-120.png" sizes="120x120" />
|
||||
<link rel="apple-touch-icon" href="/images/favicon/favicon-152.png" sizes="152x152" />
|
||||
<link rel="apple-touch-icon" href="/images/favicon/favicon-167.png" sizes="167x167" />
|
||||
<link rel="apple-touch-icon" href="/images/favicon/favicon-180.png" sizes="180x180" />
|
||||
<link rel="mask-icon" href="/images/favicon/favicon.svg" color="brown" />
|
||||
<!-- Windows -->
|
||||
<meta name="msapplication-config" content="/browserconfig.xml" />
|
||||
<link rel="shortcut icon" href="/images/favicon/favicon.ico" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png" />
|
||||
<meta name="apple-mobile-web-app-title" content="T. Radloff" />
|
||||
<link rel="manifest" href="/images/favicon/site.webmanifest" />
|
||||