Allow setting favicon per page/section
This commit is contained in:
@ -23,12 +23,7 @@
|
||||
<link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" />
|
||||
{%- endif %}
|
||||
|
||||
<link rel="icon" type="image/png" href="{{ get_url(path='favicon.png') }}" />
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="{{ get_url(path='apple-touch-icon.png') }}" />
|
||||
|
||||
{%- if config.extra.emoji_favicon %}
|
||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='-.07em' y='.89em' font-size='90'%3E{{ config.extra.emoji_favicon | truncate(length=1, end='') }}%3C/text%3E%3C/svg%3E">
|
||||
{%- endif %}
|
||||
{%- include "partials/favicon.html" %}
|
||||
|
||||
{%- if config.generate_feeds and config.feed_filenames %}
|
||||
{%- for feed in config.feed_filenames %}
|
||||
|
Reference in New Issue
Block a user