Add safe filter to title

This commit is contained in:
Helen Chong 2024-10-04 19:40:05 +08:00
parent 165f20042f
commit 60a2b77592
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ eleventyComputed:
{%- for item in collections["feed items"] | reverse | itemLimit(15) %} {%- for item in collections["feed items"] | reverse | itemLimit(15) %}
{% set absolutePostUrl %}{{ item.url | absoluteUrl(sitemeta.siteUrl) }}{% endset %} {% set absolutePostUrl %}{{ item.url | absoluteUrl(sitemeta.siteUrl) }}{% endset %}
<entry> <entry>
<title>{{ item.data.title }}</title> <title>{{ item.data.title | safe }}</title>
<link href="{{ absolutePostUrl }}"/> <link href="{{ absolutePostUrl }}"/>
<updated>{{ item.date | dateToRfc3339 }}</updated> <updated>{{ item.date | dateToRfc3339 }}</updated>
<id>{{ absolutePostUrl }}</id> <id>{{ absolutePostUrl }}</id>