Fix some HTML format bugs
This commit is contained in:
parent
460c37ad0b
commit
f07a1ca837
@ -6,7 +6,7 @@ compile_sass = true
|
|||||||
build_search_index = true
|
build_search_index = true
|
||||||
generate_feed = true
|
generate_feed = true
|
||||||
feed_filename = "rss.xml"
|
feed_filename = "rss.xml"
|
||||||
minify_html = false
|
minify_html = true
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="shortcut icon" type="image/jpg" href="{{config.extra.profile_photo}}" />
|
<link rel="shortcut icon" type="image/jpg" href="{{config.extra.profile_photo | safe}}" />
|
||||||
{% include "components/metadata/advertise-rss.html" %}
|
{% include "components/metadata/advertise-rss.html" %}
|
||||||
{% include "components/metadata/opengraph.html" %}
|
{% include "components/metadata/opengraph.html" %}
|
||||||
|
|
||||||
{# Redirect support #}
|
{# Redirect support #}
|
||||||
{% if redirect_target != "" %}
|
{% if redirect_target != "" %}
|
||||||
<meta http-equiv="refresh" content="0; url={{redirect_target}}" />
|
<meta http-equiv="refresh" content="0; url={{redirect_target | safe}}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# Page title #}
|
{# Page title #}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% if current_url %}
|
{% if current_url %}
|
||||||
<link rel="canonical" href="{{current_url}}" />
|
<link rel="canonical" href="{{current_url | safe}}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{get_url(path=config.feed_filename, trailing_slash=false)}}">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{get_url(path=config.feed_filename, trailing_slash=false) | safe}}">
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{# Page image #}
|
{# Page image #}
|
||||||
<meta name="og:image"
|
<meta name="og:image"
|
||||||
content="{% block opengraph_image_url %}{{config.extra.profile_photo}}{% endblock opengraph_image_url %}" />
|
content="{% block opengraph_image_url %}{{config.extra.profile_photo | safe}}{% endblock opengraph_image_url %}" />
|
||||||
|
|
||||||
{# Page description #}
|
{# Page description #}
|
||||||
<meta property="og:description" content="{{description}}" />
|
<meta property="og:description" content="{{description}}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user