Skip to content

Commit 43420fa

Browse files
committed
JSON encode these
1 parent 1b78af4 commit 43420fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/templates/pages/blog.txp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@type": "Blog",
3232
"headline": "Textpattern CMS blog",
3333
"description": "Latest blogs from Team Textpattern and guests; Textpattern news and other tidbits of info that we find of interest.",
34-
"url": "<txp:site_url escape="json" />weblog/"
34+
"url": "<txp:section url escape="json" />"
3535
}
3636
</script>
3737
<txp:else />

src/templates/pages/contact.txp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@type": "WebPage",
2828
"headline": "Contact us",
2929
"description": "How to contact the Textpattern Development Team via email.",
30-
"url": "<txp:site_url escape="json" />contact/"
30+
"url": "<txp:section url escape="json" />"
3131
}
3232
</script>
3333
</head>

src/templates/pages/showcase.txp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@type": "WebPage",
2929
"headline": "Textpattern CMS site showcase",
3030
"description": "Feast your eyes on some of the awesome websites powered by Textpattern CMS in our site showcase section.",
31-
"url": "<txp:site_url escape="json" />showcase/"
31+
"url": "<txp:section url escape="json" />"
3232
}
3333
</script>
3434
<txp:else />

0 commit comments

Comments
 (0)