Skip to content

Commit

Permalink
Fix page title on homepage.
Browse files Browse the repository at this point in the history
Changes logic in _includes/head.html to check for a page.title being set
to the string "Home"
  • Loading branch information
mrmrs committed Jan 18, 2014
1 parent 5f6964c commit 59018c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

<title>
{% if page.title %}
{{ page.title }} &middot; {{ site.title }}
{% else %}
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.tagline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>

Expand Down

0 comments on commit 59018c9

Please sign in to comment.