Default favicon not properly set

This commit is contained in:
squidfunk 2016-06-24 13:12:20 +02:00
parent a1a896e1bb
commit 1a4490a39c
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
{% if config.extra.logo %}
<link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}">
{% endif %}
{% set favicon = favicon | default("assets/images/favicon-e565ddfa3b.ico") %}
{% set favicon = favicon | default("assets/images/favicon-e565ddfa3b.ico", true) %}
<link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
<style>

View File

@ -58,7 +58,7 @@
{% endif %}
<!-- Favicon -->
{% set favicon = favicon | default("assets/images/favicon.ico") %}
{% set favicon = favicon | default("assets/images/favicon.ico", true) %}
<link rel="shortcut icon" type="image/x-icon"
href="{{ base_url }}/{{ favicon }}" />
<link rel="icon" type="image/x-icon"