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