aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/custom
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-11-17 19:43:20 -0800
committerParker Moore <parkrmoore@gmail.com>2013-11-17 19:43:20 -0800
commitd577da7c0af912cec131fa76ea5f265388aae5eb (patch)
treedab3c21fe77cde2c4e96d5d26a59845861829ca8 /.themes/classic/source/_includes/custom
parentcf4bdae818c312f6846d587115faf850ab965456 (diff)
parentc4dff251dc92db9465a076406f2a908086845ecc (diff)
downloadmy_new_personal_website-d577da7c0af912cec131fa76ea5f265388aae5eb.tar.xz
my_new_personal_website-d577da7c0af912cec131fa76ea5f265388aae5eb.zip
Merge pull request #1400 from axiac/fixed-titlecase-usage
Fixed titlecase usage
Diffstat (limited to '.themes/classic/source/_includes/custom')
-rw-r--r--.themes/classic/source/_includes/custom/category_feed.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/source/_includes/custom/category_feed.xml b/.themes/classic/source/_includes/custom/category_feed.xml
index f47c5536..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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title><![CDATA[{{ page.title }} | {{ site.title }}]]></title>
+ <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
<link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
@@ -17,7 +17,7 @@ layout: nil
{% for post in site.categories[page.category] limit: 5 %}
<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>