switched to favicons generated from realfavicongenerator.net, removed browserconfig.xml, manifest.json is now site.webmanifest

This commit is contained in:
eclipse 2025-04-01 14:46:26 +02:00
parent 9acc017c40
commit 2728bef5f2
20 changed files with 29 additions and 24 deletions

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 927 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View 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"
}

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -2,7 +2,7 @@
Require all denied Require all denied
</Files> </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 Require all granted
</FilesMatch> </FilesMatch>

View File

@ -34,7 +34,8 @@ STATIC_PATHS = ["images", "misc"]
IGNORE_FILES = ['**/.*', '__pycache__', 'favicon-from-svg.sh', '*.metadata'] IGNORE_FILES = ['**/.*', '__pycache__', 'favicon-from-svg.sh', '*.metadata']
EXTRA_PATH_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/functions.php': {'path': 'functions.php'},
'misc/subscribe.php': {'path': 'newsletter/subscribe.php'}, 'misc/subscribe.php': {'path': 'newsletter/subscribe.php'},
'misc/confirm.php': {'path': 'newsletter/confirm.php'}, 'misc/confirm.php': {'path': 'newsletter/confirm.php'},

View File

@ -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" /> <link rel="icon" type="image/svg+xml" href="/images/favicon/favicon.svg" />
<!-- generics --> <link rel="shortcut icon" href="/images/favicon/favicon.ico" />
<link rel="icon" href="/images/favicon/favicon-16.png" sizes="16x16" /> <link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png" />
<link rel="icon" href="/images/favicon/favicon-32.png" sizes="32x32" /> <meta name="apple-mobile-web-app-title" content="T. Radloff" />
<link rel="icon" href="/images/favicon/favicon-48.png" sizes="48x48" /> <link rel="manifest" href="/images/favicon/site.webmanifest" />
<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" />