Skip to content

Commit 61a2e5e

Browse files
Rust-Trendsclaude
andcommitted
Add Apple touch icons to resolve iOS home screen icon warning
- Add comprehensive apple-touch-icon link tags for all iOS device sizes - Covers iPhone, iPad, and Apple Watch icon requirements (57px to 180px) - Uses existing favicon.ico as fallback for all sizes - Resolves "No Apple touch icon is specified" browser warning - Improves PWA and home screen experience on iOS devices 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5428c3a commit 61a2e5e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/partials/header.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@
8383
<link rel="icon" type="image/x-icon" href={{ get_url(path=config.extra.favicon) }} />
8484
{% endif %}
8585

86+
{# Apple Touch Icons #}
87+
<link rel="apple-touch-icon" sizes="180x180" href="{{ get_url(path='icon/favicon.ico') }}">
88+
<link rel="apple-touch-icon" sizes="152x152" href="{{ get_url(path='icon/favicon.ico') }}">
89+
<link rel="apple-touch-icon" sizes="144x144" href="{{ get_url(path='icon/favicon.ico') }}">
90+
<link rel="apple-touch-icon" sizes="120x120" href="{{ get_url(path='icon/favicon.ico') }}">
91+
<link rel="apple-touch-icon" sizes="114x114" href="{{ get_url(path='icon/favicon.ico') }}">
92+
<link rel="apple-touch-icon" sizes="76x76" href="{{ get_url(path='icon/favicon.ico') }}">
93+
<link rel="apple-touch-icon" sizes="72x72" href="{{ get_url(path='icon/favicon.ico') }}">
94+
<link rel="apple-touch-icon" sizes="60x60" href="{{ get_url(path='icon/favicon.ico') }}">
95+
<link rel="apple-touch-icon" sizes="57x57" href="{{ get_url(path='icon/favicon.ico') }}">
96+
<link rel="apple-touch-icon" href="{{ get_url(path='icon/favicon.ico') }}">
97+
8698
{# Font preloading for performance #}
8799
{% if not config.extra.use_cdn | default(value=false) %}
88100
<link rel="preload" href="{{ get_url(path='fonts/JetbrainsMono/JetBrainsMono-Regular.ttf') }}" as="font" type="font/ttf" crossorigin>

0 commit comments

Comments
 (0)