|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | | -<head> |
4 | | -<meta charset="utf-8"> |
5 | | -<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | -<meta name="description" content=""> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <meta name="description" content="<%= current_page.data.description %>"> |
7 | 7 |
|
8 | | -<link rel="shortcut icon" href="<%= image_path('favicon.png') %>"> |
| 8 | + <link rel="shortcut icon" href="<%= image_path('favicon.png') %>"> |
9 | 9 |
|
10 | | -<title><%= current_page.data.page_title ? "#{current_page.data.page_title} - " : "" %>Terraform</title> |
| 10 | + <title><%= [current_page.data.page_title, "Terraform by HashiCorp"].compact.join(" - ") %></title> |
11 | 11 |
|
12 | | -<!-- Bootstrap core CSS --> |
13 | | -<%= stylesheet_link_tag "application" %> |
| 12 | + <%= stylesheet_link_tag "application" %> |
14 | 13 |
|
15 | | -<!-- google fonts --> |
16 | | -<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'> |
| 14 | + <!--[if lt IE 9]> |
| 15 | + <%= javascript_include_tag "html5shiv", "respond.min" %> |
| 16 | + <![endif]--> |
17 | 17 |
|
18 | | -<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
19 | | -<!--[if lt IE 9]> |
20 | | - <%= javascript_include_tag "html5shiv", "respond.min" %> |
21 | | -<![endif]--> |
| 18 | + <%= yield_content :head %> |
| 19 | + </head> |
22 | 20 |
|
23 | | -<%= yield_content :head %> |
24 | | - |
25 | | -<script> |
26 | | - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
27 | | - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
28 | | - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
29 | | - })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
30 | | - |
31 | | - ga('create', 'UA-53231375-1', 'auto'); |
32 | | - ga('send', 'pageview'); |
33 | | -</script> |
34 | | -</head> |
35 | | -<body id="page-<%= current_page.data.page_title ? "#{current_page.data.page_title}" : "home" %>" 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}" %>"> |
| 21 | + <body id="page-<%= current_page.data.page_title ? "#{current_page.data.page_title}" : "home" %>" 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}" %>"> |
0 commit comments