Merge pull request #825 from michaelbaudino/change-default-and-html5-templates-to-use-current_page.data.title

Changed 'default' and 'html5' templates to use 'current_page.data.title' instead of 'data.page.title'
This commit is contained in:
Ben Hollis 2013-03-17 16:05:29 -07:00
commit 546c1fdafc
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<!-- Use title if it's in the page YAML frontmatter -->
<title><%= data.page.title || "The Middleman" %></title>
<title><%= current_page.data.title || "The Middleman" %></title>
<%= stylesheet_link_tag "normalize", "all" %>
<%= javascript_include_tag "all" %>

View file

@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Use title if it's in the page YAML frontmatter -->
<title><%= data.page.title || "HTML5 Boilerplate" %></title>
<title><%= current_page.data.title || "HTML5 Boilerplate" %></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">