Prevent HTML entities in meta title

This commit is contained in:
Helen Chong 2024-04-20 18:34:44 +08:00
parent 7307fdbd07
commit 28ea0cacd9
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle> <subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/> <link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
<link href="https://leilukin.neocities.org"/> <link href="https://leilukin.neocities.org"/>
<updated>2024-04-20T10:29:52Z</updated> <updated>2024-04-20T10:33:58Z</updated>
<id>https://leilukin.neocities.org</id> <id>https://leilukin.neocities.org</id>
<author> <author>
<name>Leilukin</name> <name>Leilukin</name>

View File

@ -7,7 +7,7 @@
<meta property="og:title" content="Leilukin&#39;s Hub"> <meta property="og:title" content="Leilukin's Hub">
<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">

View File

@ -7,7 +7,7 @@
{# Meta data #} {# Meta data #}
{% block metaTitle %} {% block metaTitle %}
<meta property="og:title" content="{{ title if title else sitemeta.siteName }}"> <meta property="og:title" content="{{ title if title else sitemeta.siteName | safe }}">
{% endblock %} {% endblock %}
{% include "global/metagen.njk" %} {% include "global/metagen.njk" %}