Add favicon support

This commit is contained in:
Paweł Romanowski 2019-04-01 17:25:45 +02:00
parent 34047623ff
commit df84c55f4c
3 changed files with 25 additions and 0 deletions

View file

@ -14,6 +14,10 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") }}">
{% endif -%}
{%- if config.extra.favicon %}
<link rel="icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") }}" href="{{ config.extra.favicon }}">
{% endif -%}
{%- block extra_head %}
{% endblock extra_head -%}
</head>