File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% capture category %}{{ post.categories | size }}{% endcapture %}
2
- < h1 > < a href ="{{ root_url }}{{ post.url }} "> {{ post.title} }</ a > </ h1 >
2
+ < h1 > < a href ="{{ root_url }}{{ post.url }} "> {% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif % }</ a > </ h1 >
3
3
< time datetime ="{{ post.date | datetime | date_to_xmlschema }} " pubdate > {{ post.date | date: "< span class ='month '> %b</ span > < span class ='day '> %d</ span > < span class ='year '> %Y</ span > "}}</ time >
4
4
{% if category != '0' %}
5
5
< footer >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ layout: nil
4
4
<?xml version =" 1.0" encoding =" utf-8" ?>
5
5
<feed xmlns =" http://www.w3.org/2005/Atom" >
6
6
7
- <title ><![CDATA[ {{ page.title }} | {{ site.title }}]]> </title >
7
+ <title ><![CDATA[ {% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]> </title >
8
8
<link href =" {{ site.url }}/{{ page.feed_url }}" rel =" self" />
9
9
<link href =" {{ site.url }}/" />
10
10
<updated >{{ site.time | date_to_xmlschema }}</updated >
@@ -17,7 +17,7 @@ layout: nil
17
17
18
18
{% for post in site.categories[page.category] limit: 5 %}
19
19
<entry >
20
- <title type =" html" ><![CDATA[ {{ post.title | cdata_escape }}]]> </title >
20
+ <title type =" html" ><![CDATA[ {% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif % }]]> </title >
21
21
<link href =" {{ site.url }}{{ post.url }}" />
22
22
<updated >{{ post.date | date_to_xmlschema }}</updated >
23
23
<id >{{ site.url }}{{ post.id }}</id >
Original file line number Diff line number Diff line change 4
4
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--> < html class ="no-js " lang ="en "> <!--<![endif]-->
5
5
< head >
6
6
< meta charset ="utf-8 ">
7
- < title > {% if page.title %}{{ page.title } } - {% endif %}{{ site.title }}</ title >
7
+ < title > {% if page.title %}{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif % } - {% endif %}{{ site.title }}</ title >
8
8
< meta name ="author " content ="{{ site.author }} ">
9
9
10
10
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ layout: nil
4
4
<?xml version =" 1.0" encoding =" utf-8" ?>
5
5
<feed xmlns =" http://www.w3.org/2005/Atom" >
6
6
7
- <title ><![CDATA[ {{ site.title }}]]> </title >
7
+ <title ><![CDATA[ {{ site.title | cdata_escape }}]]> </title >
8
8
<link href =" {{ site.url }}/atom.xml" rel =" self" />
9
9
<link href =" {{ site.url }}/" />
10
10
<updated >{{ site.time | date_to_xmlschema }}</updated >
@@ -17,7 +17,7 @@ layout: nil
17
17
18
18
{% for post in site.posts limit: 20 %}
19
19
<entry >
20
- <title type =" html" ><![CDATA[ {{ post.title | cdata_escape }}]]> </title >
20
+ <title type =" html" ><![CDATA[ {% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif % }]]> </title >
21
21
<link href =" {{ site.url }}{{ post.url }}" />
22
22
<updated >{{ post.date | date_to_xmlschema }}</updated >
23
23
<id >{{ site.url }}{{ post.id }}</id >
You can’t perform that action at this time.
0 commit comments