Move icon sizes inline, remove from sculpin_site.yml

This commit is contained in:
Oliver Davies 2017-05-15 22:41:55 +01:00
parent 01f7bee6c2
commit 2b0594e8d6
2 changed files with 2 additions and 4 deletions

View file

@ -3,8 +3,6 @@ subtitle: 'Web Developer, System Administrator - PHP, Drupal, Symfony, Linux'
description: 'Oliver Davies, Drupal Developer'
default_date_format: 'jS F, Y'
fuzzy_date_format: F Y
apple_touch_icon_sizes: [ 57, 114, 72, 144, 60, 120, 76, 152 ]
favicon_sizes: [ 160, 96, 32, 16 ]
ansible_galaxy:
url: https://galaxy.ansible.com/opdavies

View file

@ -14,11 +14,11 @@
<link rel="stylesheet" href="{{ site.url }}/assets/css/site.css">
{% block styles %}{% endblock %}
{% for size in site.apple_touch_icon_sizes %}
{% for size in [57, 60, 72, 76, 114, 120, 144, 152] %}
<link rel="apple-touch-icon" href="{{ site.avatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
{% for size in site.favicon_sizes %}
{% for size in [16, 32, 96, 160] %}
<link rel="icon" href="{{ site.avatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
</head>