fix:index_html

This commit is contained in:
dichgrem
2025-08-28 15:08:34 +08:00
parent a33789bb25
commit fd06c5a402

View File

@@ -18,16 +18,17 @@
{%- if feed is containing('atom') %} {%- if feed is containing('atom') %}
<link rel="alternate" type="application/atom+xml" title="{{ config.title }} Atom Feed" href="{{ get_url(path=feed, trailing_slash=false, lang=lang) | safe }}" /> <link rel="alternate" type="application/atom+xml" title="{{ config.title }} Atom Feed" href="{{ get_url(path=feed, trailing_slash=false, lang=lang) | safe }}" />
{%- endif %} {%- endif %}
{%- if feed is containing('rss') %} {%- if feed is containing('rss') %}
<link rel="alternate" type="application/rss+xml" title="{{ config.title }} RSS Feed" href="{{ get_url(path=feed, trailing_slash=false, lang=lang) | safe }}" /> <link rel="alternate" type="application/rss+xml" title="{{ config.title }} RSS Feed" href="{{ get_url(path=feed, trailing_slash=false, lang=lang) | safe }}" />
{%- endif %} {%- endif %}
{%- endfor %}
{% endif -%}
{# Favicon #} {%- endfor %}
{% if config.extra.favicon %} {%- endif -%}
<link rel="icon" type="image/png" href={{ config.extra.favicon }} />
{% endif %} {%- if config.extra.favicon %}
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">
{% endif -%}
{%- block extra_head %} {%- block extra_head %}
{% endblock extra_head -%} {% endblock extra_head -%}