mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Default favicon not properly set
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
{% if config.extra.logo %}
|
{% if config.extra.logo %}
|
||||||
<link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}">
|
<link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}">
|
||||||
{% endif %}
|
{% 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="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||||
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- 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"
|
<link rel="shortcut icon" type="image/x-icon"
|
||||||
href="{{ base_url }}/{{ favicon }}" />
|
href="{{ base_url }}/{{ favicon }}" />
|
||||||
<link rel="icon" type="image/x-icon"
|
<link rel="icon" type="image/x-icon"
|
||||||
|
|||||||
Reference in New Issue
Block a user