Allow specifying a custom favicon

Add an extra setting to specify a custom favicon:
```
extra:
  favicon: favicon.ico
```
This commit is contained in:
Kilian Cavalotti 2016-03-14 11:09:22 -07:00
parent 4b9c8b9a49
commit 966587a257

View File

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