Skip to content

Fix Apple touch icons for each skin - #519

Open
jimmeak wants to merge 1 commit into
dracidoupe:masterfrom
jimmeak:fix/issue-505-apple-touch-icons
Open

Fix Apple touch icons for each skin#519
jimmeak wants to merge 1 commit into
dracidoupe:masterfrom
jimmeak:fix/issue-505-apple-touch-icons

Conversation

@jimmeak

@jimmeak jimmeak commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The page was using the ICO file for everything and marking it as SVG. This gives each skin a proper SVG favicon, ICO fallback and 180×180 PNG touch icon.

The usual /apple-touch-icon.png and precomposed URL now redirect to the icon for the current skin too. I added tests for all three skins and both redirect URLs.

The full test suite and Ruff pass locally.

Fixes #505

Use the right SVG, ICO and Apple touch icon formats for each skin, and handle the standard root touch icon URLs.\n\nFixes dracidoupe#505
@jimmeak
jimmeak requested a review from Almad July 14, 2026 22:05
@jimmeak
jimmeak marked this pull request as ready for review July 14, 2026 22:05

self.assertEquals("/", res.url)

def test_page_uses_correct_favicon_formats_for_each_skin(self):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you been writing those tests or is it LLM? I don't think iterations like this make sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix apple touch icons

2 participants