Add "safe" filter to page titles
This commit is contained in:
parent
d9919fad4d
commit
df9a66d323
|
@ -43,7 +43,7 @@
|
|||
{% endif %}
|
||||
|
||||
<title>
|
||||
{% block pageTitle %}{{ title + " | " if title }}{{ sitemeta.siteName | safe }}{% endblock %}
|
||||
{% block pageTitle %}{{ title + " | " if title | safe }}{{ sitemeta.siteName | safe }}{% endblock %}
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -4,7 +4,7 @@ export default {
|
|||
permalink: "/articles/{{ page.fileSlug }}/",
|
||||
isArticle: true,
|
||||
eleventyComputed: {
|
||||
title: "{{ articleTitle }} | Articles",
|
||||
title: "{{ articleTitle | safe }} | Articles",
|
||||
eleventyNavigation: {
|
||||
key: "{{ articleTitle }}",
|
||||
parent: "Articles"
|
||||
|
|
|
@ -3,7 +3,7 @@ export default {
|
|||
tags: ["posts", "contents", "feed items"],
|
||||
isArticle: true,
|
||||
eleventyComputed: {
|
||||
title: "{{ articleTitle }} | Blog",
|
||||
title: "{{ articleTitle | safe }} | Blog",
|
||||
eleventyNavigation: {
|
||||
key: "{{ articleTitle }}",
|
||||
parent: "Blog Archive"
|
||||
|
|
|
@ -3,7 +3,7 @@ export default {
|
|||
layout: "cassettebeasts/content",
|
||||
isArticle: true,
|
||||
eleventyComputed: {
|
||||
title: "{{ articleTitle }} | Articles",
|
||||
title: "{{ articleTitle | safe }} | Articles",
|
||||
eleventyNavigation: {
|
||||
key: "{{ articleTitle }}",
|
||||
parent: "Cassette Beasts Articles"
|
||||
|
|
|
@ -3,7 +3,7 @@ export default {
|
|||
layout: "starwarskotor/content",
|
||||
isArticle: true,
|
||||
eleventyComputed: {
|
||||
title: "{{ articleTitle }} | Articles",
|
||||
title: "{{ articleTitle | safe }} | Articles",
|
||||
eleventyNavigation: {
|
||||
key: "{{ articleTitle }}",
|
||||
parent: "KotOR Articles"
|
||||
|
|
|
@ -3,7 +3,7 @@ export default {
|
|||
layout: "starwarskotor/content",
|
||||
isArticle: true,
|
||||
eleventyComputed: {
|
||||
title: "{{ articleTitle }} | Guides",
|
||||
title: "{{ articleTitle | safe }} | Guides",
|
||||
eleventyNavigation: {
|
||||
key: "{{ articleTitle }}",
|
||||
parent: "KotOR Guides"
|
||||
|
|
Loading…
Reference in New Issue