From 1363c33ad914c7e52240c031c3b7faf55314dd52 Mon Sep 17 00:00:00 2001 From: Igor Cerjan Date: Fri, 15 May 2015 18:00:38 +0800 Subject: [PATCH 1/2] Update page_head.html.twig Added favicon output, if enabled in gantry, otherwise it will not render. --- engines/common/nucleus/templates/page_head.html.twig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/common/nucleus/templates/page_head.html.twig b/engines/common/nucleus/templates/page_head.html.twig index 5a2178db9..8d9193550 100644 --- a/engines/common/nucleus/templates/page_head.html.twig +++ b/engines/common/nucleus/templates/page_head.html.twig @@ -17,6 +17,9 @@ {%- block head_meta -%} + {% if gantry.config.styles.base.favicon %} + + {% endif %} {%- endblock %} {%- block head_title -%} From 0f7462214dd2538b9b008ea903af55c804140b7d Mon Sep 17 00:00:00 2001 From: Igor Cerjan Date: Fri, 15 May 2015 21:01:52 +0800 Subject: [PATCH 2/2] Update page_head.html.twig Updated favicon code to exclude 'default' --- engines/common/nucleus/templates/page_head.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/common/nucleus/templates/page_head.html.twig b/engines/common/nucleus/templates/page_head.html.twig index 8d9193550..d87e41dd8 100644 --- a/engines/common/nucleus/templates/page_head.html.twig +++ b/engines/common/nucleus/templates/page_head.html.twig @@ -18,7 +18,7 @@ {% if gantry.config.styles.base.favicon %} - + {% endif %} {%- endblock %}