feat: allow using emojis as favicon 🌱

This commit is contained in:
welpo
2023-05-25 14:31:03 +02:00
parent cfef1f65d7
commit fb061a1469
4 changed files with 15 additions and 1 deletions

View File

@@ -10,6 +10,9 @@
{% if config.extra.favicon %}
<link rel="icon" type="image/png" href={{ config.extra.favicon }} />
{% endif %}
{% if config.extra.favicon_emoji %}
<link rel=icon href='data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg" viewBox="0 0 105 55"><text y=".7em" font-size="90">{{ config.extra.favicon_emoji }}</text></svg>'>
{% endif %}
{# RSS #}
<link rel="alternate" type="application/atom+xml" title="{{ config.title }}" href="{{ get_url(path="atom.xml",