1 {% assign favicon_url = relative_root_path | append: '/assets/favicons/' | append: site.carpentry %}
3 {% if site.carpentry == 'swc' %}
4 {% assign carpentry = 'Software Carpentry' %}
5 {% elsif site.carpentry == 'dc' %}
6 {% assign carpentry = 'Data Carpentry' %}
7 {% elsif site.carpentry == 'lc' %}
8 {% assign carpentry = 'Library Carpentry' %}
9 {% elsif site.carpentry == 'cp' %}
10 {% assign carpentry = 'The Carpentries' %}
13 <!-- Favicons for everyone -->
14 <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ favicon_url }}/apple-touch-icon-57x57.png" />
15 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ favicon_url }}/apple-touch-icon-114x114.png" />
16 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ favicon_url }}/apple-touch-icon-72x72.png" />
17 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ favicon_url }}/apple-touch-icon-144x144.png" />
18 <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{ favicon_url }}/apple-touch-icon-60x60.png" />
19 <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ favicon_url }}/apple-touch-icon-120x120.png" />
20 <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ favicon_url }}/apple-touch-icon-76x76.png" />
21 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ favicon_url }}/apple-touch-icon-152x152.png" />
22 <link rel="icon" type="image/png" href="{{ favicon_url }}/favicon-196x196.png" sizes="196x196" />
23 <link rel="icon" type="image/png" href="{{ favicon_url }}/favicon-96x96.png" sizes="96x96" />
24 <link rel="icon" type="image/png" href="{{ favicon_url }}/favicon-32x32.png" sizes="32x32" />
25 <link rel="icon" type="image/png" href="{{ favicon_url }}/favicon-16x16.png" sizes="16x16" />
26 <link rel="icon" type="image/png" href="{{ favicon_url }}/favicon-128.png" sizes="128x128" />
27 <meta name="application-name" content="{{ carpentry }} - {{ site.title }}"/>
28 <meta name="msapplication-TileColor" content="#FFFFFF" />
29 <meta name="msapplication-TileImage" content="{{ favicon_url }}/mstile-144x144.png" />
30 <meta name="msapplication-square70x70logo" content="{{ favicon_url }}/mstile-70x70.png" />
31 <meta name="msapplication-square150x150logo" content="{{ favicon_url }}/mstile-150x150.png" />
32 <meta name="msapplication-wide310x150logo" content="{{ favicon_url }}/mstile-310x150.png" />
33 <meta name="msapplication-square310x310logo" content="{{ favicon_url }}/mstile-310x310.png" />