1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Don't use data.page.title. This was a regression from 3.x

This commit is contained in:
Ben Hollis 2014-05-10 19:37:48 -07:00
parent 113b352474
commit ab238c32e5

View file

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