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:
commit
546c1fdafc
|
@ -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" %>
|
||||
|
|
|
@ -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">
|
||||
|
||||
|
|
Loading…
Reference in a new issue