aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/atom.xml
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-11-17 22:47:27 -0500
committerParker Moore <parkrmoore@gmail.com>2013-11-17 22:47:27 -0500
commit1230e018843ec3bcb17dc4297f2b0f47693a7608 (patch)
tree64d9578e934d058dd0bcd1da380ae6379fe187f2 /.themes/classic/source/atom.xml
parent7f26224bb84e5fef01c4a55effd22fc2b7f1e9c4 (diff)
parentd577da7c0af912cec131fa76ea5f265388aae5eb (diff)
downloadmy_new_personal_website-1230e018843ec3bcb17dc4297f2b0f47693a7608.tar.xz
my_new_personal_website-1230e018843ec3bcb17dc4297f2b0f47693a7608.zip
Merge branch 'master' of github.com:imathis/octopress
* 'master' of github.com:imathis/octopress: removing border from iframe in jsFiddle plugin * properly escaped site title and post/page title in the RSS feeds; * consistently convert page and post titles to titlecase if site.titlecase is true;
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/atom.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml
index 83af3f81..d4a44278 100644
--- a/.themes/classic/source/atom.xml
+++ b/.themes/classic/source/atom.xml
@@ -4,7 +4,7 @@ layout: nil
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title><![CDATA[{{ site.title }}]]></title>
+ <title><![CDATA[{{ site.title | cdata_escape }}]]></title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
@@ -17,7 +17,7 @@ layout: nil
{% for post in site.posts limit: 20 %}
<entry>
- <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
+ <title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>