Skip to content

Commit

Permalink
fix(template): use custom variable for “Home” placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 30, 2016
1 parent e5ebac5 commit 8eaa29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _app/_data/nav.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- title: Home
- title: __home__
url: /

- title: News
Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% assign lowercased_title = item.title | downcase %}
<li {% if page.permalink == item.url or page.category == lowercased_title %}class=current{% endif %}>
<a href="{{ item.url | prepend: site.base }}">
{% if item.title == "Home" %}
{% if item.title == "__home__" %}
{{ site.name }}
{% else %}
{{ item.title }}
Expand Down

0 comments on commit 8eaa29b

Please sign in to comment.