Revert "Move icon sizes inline, remove from sculpin_site.yml"

This reverts commit 2b0594e8d6.
This commit is contained in:
Oliver Davies 2017-05-16 01:55:08 +01:00
parent c0f56cb904
commit 02a0d846ad
2 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,8 @@ 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 [57, 60, 72, 76, 114, 120, 144, 152] %}
{% for size in site.apple_touch_icon_sizes %}
<link rel="apple-touch-icon" href="{{ site.avatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
{% for size in [16, 32, 96, 160] %}
{% for size in site.favicon_sizes %}
<link rel="icon" href="{{ site.avatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
</head>