Fixed favicon regression caused by deprecation upstream

This commit is contained in:
squidfunk
2017-11-01 12:04:22 +01:00
committed by Martin Donath
parent 72121517e6
commit f4dddaeeee
7 changed files with 20 additions and 21 deletions

View File

@@ -73,13 +73,8 @@
{% endfor %}
<!-- Favicon -->
{% if config.site_favicon %}
<link rel="shortcut icon"
href="{{ base_url }}/{{ config.site_favicon }}">
{% else %}
<link rel="shortcut icon"
href="{{ base_url }}/assets/images/favicon.png">
{% endif %}
<link rel="shortcut icon"
href="{{ base_url }}/{{ config.theme.favicon }}">
<!-- Generator banner -->
<meta name="generator"

View File

@@ -49,6 +49,9 @@ font:
# Fixed-width font for code listings
code: Roboto Mono
# Favicon to be rendered
favicon: assets/images/favicon.png
# The logo of the documentation shown in the header and navigation can either
# be a Material Icon ligature or an image URL
logo: