feat: Setting for enabling animated favicon

This commit is contained in:
daudix-UFO
2023-10-14 04:10:55 +00:00
parent 32727be002
commit f25e5421ef
3 changed files with 6 additions and 1 deletions

View File

@ -9,8 +9,11 @@
<link href="{{ get_url(path='style.css') }}" rel="stylesheet" />
<link href="{{ get_url(path='custom.css') }}" rel="stylesheet" />
{% if config.extra.animated_favicon %}
<link rel="icon" type="image/gif" href="{{ config.base_url }}/favicon.gif" />
{% else %}
<link rel="icon" type="image/png" href="{{ config.base_url }}/favicon.png" />
{% endif %}
<link rel="apple-touch-icon" sizes="180x180" href="{{ config.base_url }}/apple-touch-icon.png" />
<link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" />