mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-29 01:02:42 -04:00
Fixed favicon regression caused by deprecation upstream
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user