... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
{% unless page.no_header %} |
2 | 2 |
<header> |
3 | 3 |
{% if index %} |
4 |
- <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{{ post.title | titlecase }}</a></h1> |
|
4 |
+ <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1> |
|
5 | 5 |
{% else %} |
6 |
- <h1 class="entry-title">{{ page.title | titlecase }}</h1> |
|
6 |
+ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1> |
|
7 | 7 |
{% endif %} |
8 | 8 |
{% unless page.meta == false %} |
9 | 9 |
<p class="meta"> |
... | ... |
@@ -6,7 +6,7 @@ layout: default |
6 | 6 |
<article role="article"> |
7 | 7 |
{% if page.title %} |
8 | 8 |
<header> |
9 |
- <h1 class="entry-title">{{ page.title | titlecase }}</h1> |
|
9 |
+ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1> |
|
10 | 10 |
{% if page.date %}<p class="meta">{% include post/date.html %}{{ time }}</p>{% endif %} |
11 | 11 |
</header> |
12 | 12 |
{% endif %} |
... | ... |
@@ -34,6 +34,8 @@ pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/ |
34 | 34 |
recent_posts: 5 # Posts in the sidebar Recent Posts section |
35 | 35 |
excerpt_link: "Read on →" # "Continue reading" link text at the bottom of excerpted articles |
36 | 36 |
|
37 |
+titlecase: true # Converts page and post titles to tilecase |
|
38 |
+ |
|
37 | 39 |
# list each of the sidebar modules you want to include, in the order you want them to appear. |
38 | 40 |
# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html' |
39 | 41 |
default_asides: [asides/recent_posts.html, asides/github.html, asides/twitter.html, asides/delicious.html, asides/pinboard.html] |