aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/atom.xml
diff options
context:
space:
mode:
authorValentin VALCIU <axiac.ro@gmail.com>2013-10-28 12:48:05 +0200
committerValentin VALCIU <axiac.ro@gmail.com>2013-10-28 12:48:05 +0200
commita79855d1c32f6e337994b96b30bea8f4a75309f4 (patch)
tree3b862ba49fdf2d71b2391b6fdb58cd4e89e2f8bd /.themes/classic/source/atom.xml
parent74d7238934010e2bc5d36536c0a99255a85ca079 (diff)
downloadmy_new_personal_website-a79855d1c32f6e337994b96b30bea8f4a75309f4.tar.xz
my_new_personal_website-a79855d1c32f6e337994b96b30bea8f4a75309f4.zip
* consistently convert page and post titles to titlecase if site.titlecase is true;
Diffstat (limited to '.themes/classic/source/atom.xml')
-rw-r--r--.themes/classic/source/atom.xml2
1 files changed, 1 insertions, 1 deletions
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 %}
<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>