Use new helpers

This commit is contained in:
Seth Vargo 2016-10-27 20:36:05 -04:00
parent a3088d43f8
commit 1105f215fd
No known key found for this signature in database
GPG key ID: 905A90C2949E8787

View file

@ -3,11 +3,11 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<%= current_page.data.description %>">
<meta name="description" content="<%= description_for(current_page) %>">
<link rel="shortcut icon" href="<%= image_path('favicon.png') %>">
<title><%= [current_page.data.page_title, "Nomad by HashiCorp"].compact.join(" - ") %></title>
<title><%= title_for(current_page) %></title>
<%= stylesheet_link_tag "application" %>
@ -18,4 +18,4 @@
<%= yield_content :head %>
</head>
<body id="page-<%= current_page.data.page_title ? "#{current_page.data.page_title}" : "home" %>" class="<%= yield_content(:body_class) %> page-<%= current_page.data.page_title ? "#{current_page.data.page_title} layout-#{current_page.data.layout} page-sub" : "home layout-#{current_page.data.layout}" %> -displaying-bnr">
<body id="<%= body_id_for(current_page) %>" class="<%= body_classes_for(current_page) %>">