Don't use data.page.title. This was a regression from 3.x
This commit is contained in:
parent
113b352474
commit
ab238c32e5
|
@ -2,18 +2,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<!-- Always force latest IE rendering engine or request Chrome Frame -->
|
||||
<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" %>
|
||||
</head>
|
||||
|
||||
|
||||
<body class="<%= page_classes %>">
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue