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/atom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic/source/atom.xml') diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml index 83af3f81..19a972c2 100644 --- a/.themes/classic/source/atom.xml +++ b/.themes/classic/source/atom.xml @@ -17,7 +17,7 @@ layout: nil {% for post in site.posts limit: 20 %} - <![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/atom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic/source/atom.xml') diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml index 19a972c2..d4a44278 100644 --- a/.themes/classic/source/atom.xml +++ b/.themes/classic/source/atom.xml @@ -4,7 +4,7 @@ layout: nil - <![CDATA[{{ site.title }}]]> + <![CDATA[{{ site.title | cdata_escape }}]]> {{ site.time | date_to_xmlschema }} -- cgit v1.2.1