Skip to content

Commit 104c752

Browse files
committed
Use local path to Apple Touch icons
This uses the <link> tag, which can tell Apple Safari about the icons that it requests to know about. In addition to changing the elements in <head>, this also adds copies of Icon-128.png at Apple's well-known file locations. These are two ways of telling Apple Safari about that icon.
1 parent 5850edd commit 104c752

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

app/views/layouts/_meta.html.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
%meta{ property: 'og:title', content: 'codebar' }
1212
%meta{ property: 'og:description', content: 'Making tech more diverse and welcoming by bringing people together and helping teach programming skills.' }
1313
%meta{ name: 'description', content: 'Making tech more diverse and welcoming by bringing people together and helping teach programming skills.' }
14-
%meta{ rel: 'icon', sizes: '196x196', href: 'https://codebar.io/images/Icon-196.png'}
15-
%meta{ rel: 'icon', sizes: '128x128', href: 'https://codebar.io/images/Icon-128.png'}
16-
%meta{ rel: 'apple-touch-icon', sizes: '128x128', href: 'https://codebar.io/images/Icon-128.png'}
14+
%link{ rel: 'icon', sizes: '196x196', href: '/Icon-196.png'}
15+
%link{ rel: 'icon', sizes: '128x128', href: '/Icon-128.png'}
16+
%link{ rel: 'apple-touch-icon', sizes: '128x128', href: '/Icon-128.png'}

public/Icon-128.png

4.16 KB
Loading

public/Icon-196.png

7.4 KB
Loading
4.16 KB
Loading

public/apple-touch-icon.png

4.16 KB
Loading

0 commit comments

Comments
 (0)