mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Fixed #16: Favicon could not be set through mkdocs.yml
This commit is contained in:
parent
4b9c8b9a49
commit
aedddcbc39
@ -1,3 +1,7 @@
|
||||
mkdocs-material-0.x.x (2016-xx-xx)
|
||||
|
||||
* Fixed #16: Favicon could not be set through mkdocs.yml
|
||||
|
||||
mkdocs-material-0.2.1 (2016-03-12)
|
||||
|
||||
* Fixed #10: Invisible header after closing search bar with ESC key
|
||||
|
@ -34,9 +34,9 @@
|
||||
{% if config.extra.logo %}
|
||||
<link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}">
|
||||
{% endif %}
|
||||
{% set icon = icon | default("assets/images/favicon-e565ddfa3b.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ icon }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ icon }}">
|
||||
{% set favicon = favicon | default("assets/images/favicon-e565ddfa3b.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Icon';
|
||||
|
@ -58,11 +58,11 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- Favicon -->
|
||||
{% set icon = icon | default("assets/images/favicon.ico") %}
|
||||
{% set favicon = favicon | default("assets/images/favicon.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon"
|
||||
href="{{ base_url }}/{{ icon }}" />
|
||||
href="{{ base_url }}/{{ favicon }}" />
|
||||
<link rel="icon" type="image/x-icon"
|
||||
href="{{ base_url }}/{{ icon }}" />
|
||||
href="{{ base_url }}/{{ favicon }}" />
|
||||
|
||||
<!-- Configure icons (placed here to omit issues with subdirectories) -->
|
||||
<style>
|
||||
|
Loading…
Reference in New Issue
Block a user