From a79855d1c32f6e337994b96b30bea8f4a75309f4 Mon Sep 17 00:00:00 2001 From: Valentin VALCIU Date: Mon, 28 Oct 2013 12:48:05 +0200 Subject: * consistently convert page and post titles to titlecase if site.titlecase is true; --- .themes/classic/source/_includes/custom/category_feed.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.themes/classic/source/_includes/custom') diff --git a/.themes/classic/source/_includes/custom/category_feed.xml b/.themes/classic/source/_includes/custom/category_feed.xml index f47c5536..8bc34fe9 100644 --- a/.themes/classic/source/_includes/custom/category_feed.xml +++ b/.themes/classic/source/_includes/custom/category_feed.xml @@ -4,7 +4,7 @@ layout: nil - <![CDATA[{{ page.title }} | {{ site.title }}]]> + <![CDATA[{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}]]> {{ site.time | date_to_xmlschema }} @@ -17,7 +17,7 @@ layout: nil {% for post in site.categories[page.category] limit: 5 %} - <![CDATA[{{ post.title | cdata_escape }}]]> + <![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]> {{ post.date | date_to_xmlschema }} {{ site.url }}{{ post.id }} -- cgit v1.2.1 From c4dff251dc92db9465a076406f2a908086845ecc Mon Sep 17 00:00:00 2001 From: Valentin VALCIU Date: Mon, 28 Oct 2013 13:09:31 +0200 Subject: * properly escaped site title and post/page title in the RSS feeds; --- .themes/classic/source/_includes/custom/category_feed.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic/source/_includes/custom') diff --git a/.themes/classic/source/_includes/custom/category_feed.xml b/.themes/classic/source/_includes/custom/category_feed.xml index 8bc34fe9..2f16eeea 100644 --- a/.themes/classic/source/_includes/custom/category_feed.xml +++ b/.themes/classic/source/_includes/custom/category_feed.xml @@ -4,7 +4,7 @@ layout: nil - <![CDATA[{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}]]> + <![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]> {{ site.time | date_to_xmlschema }} -- cgit v1.2.1