mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge pull request #1 from kcgthb/kcgthb-favicon
Allow specifying a custom favicon
This commit is contained in:
commit
108569285f
@ -58,7 +58,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
{% set icon = icon | default("assets/images/favicon.ico") %}
|
{% set icon = config.extra.favicon | default("assets/images/favicon.ico") %}
|
||||||
<link rel="shortcut icon" type="image/x-icon"
|
<link rel="shortcut icon" type="image/x-icon"
|
||||||
href="{{ base_url }}/{{ icon }}" />
|
href="{{ base_url }}/{{ icon }}" />
|
||||||
<link rel="icon" type="image/x-icon"
|
<link rel="icon" type="image/x-icon"
|
||||||
@ -270,4 +270,4 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user