Balance all website sections and improve mobile navigation

This commit is contained in:
Hakan Seven committed 2026-09-06 13:58:32 +03:00
1 parent a86f46375d
commit 2d06004c1f
4 files changed
+51 -29

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ def build(output):
app = output / "app/index.html"
if app.exists():
html = re.sub(r'<link\b(?=[^>]*\brel=["\'](?:shortcut )?icon["\'])[^>]*>', '', app.read_text())
html = re.sub(r'<link\b(?=[^>]*\brel=["\'](?:(?:shortcut )?icon|apple-touch-icon)["\'])[^>]*>', '', app.read_text())
app.write_text(html.replace('</head>', icons + '\n</head>'), encoding="utf-8")
print(f"Built {len(catalogs)} website languages and current application icons")