aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/head.html
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/_includes/head.html
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/_includes/head.html')
-rw-r--r--.themes/classic/source/_includes/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html
index 7a727b27..abbe759d 100644
--- a/.themes/classic/source/_includes/head.html
+++ b/.themes/classic/source/_includes/head.html
@@ -4,7 +4,7 @@
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
- <title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
+ <title>{% if page.title %}{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} - {% endif %}{{ site.title }}</title>
<meta name="author" content="{{ site.author }}">
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}