From 02a0d846adc5451d37cfc4ddeb60e3be38d4cce7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 May 2017 01:55:08 +0100 Subject: [PATCH] Revert "Move icon sizes inline, remove from sculpin_site.yml" This reverts commit 2b0594e8d6cb8ff2ebd5182d933fe31c9c8fe9cc. --- app/config/sculpin_site.yml | 2 ++ source/_partials/head.twig | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 815c7210..fe7900bf 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -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 diff --git a/source/_partials/head.twig b/source/_partials/head.twig index e9189040..6a947642 100644 --- a/source/_partials/head.twig +++ b/source/_partials/head.twig @@ -14,11 +14,11 @@ {% block styles %}{% endblock %} - {% for size in [57, 60, 72, 76, 114, 120, 144, 152] %} + {% for size in site.apple_touch_icon_sizes %} {% endfor %} - {% for size in [16, 32, 96, 160] %} + {% for size in site.favicon_sizes %} {% endfor %}