mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-30 19:33:53 +01:00
Default favicon not properly set
This commit is contained in:
parent
a1a896e1bb
commit
1a4490a39c
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user