vagrant/website/source/layouts/layout.erb

134 lines
7.1 KiB
Plaintext
Raw Normal View History

2017-03-28 01:19:52 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<%= description_for(current_page) %>">
<link rel="apple-touch-icon" sizes="180x180" href="<%= image_path("favicons/apple-touch-icon.png") %>">
<link rel="icon" type="image/png" href="<%= image_path("favicons/favicon-32x32.png") %>" sizes="32x32">
<link rel="icon" type="image/png" href="<%= image_path("favicons/favicon-16x16.png") %>" sizes="16x16">
<link rel="manifest" href="/android-manifest.json">
<link rel="mask-icon" href="<%= image_path("favicons/safari-pinned-tab.svg") %>" color="#5BBAD5">
<meta name="msapplication-config" content="/microsoft-tile.xml" />
<meta name="theme-color" content="#ffffff">
2017-04-06 22:11:50 +00:00
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@HashiCorp" />
<meta name="twitter:creator" content="@HashiCorp" />
<meta property="og:url" content="<%= File.join(base_url, current_page.url) %>" />
<meta property="og:title" content="<%= title_for(current_page) %>" />
<meta property="og:site_name" content="Vagrant by HashiCorp"/>
<meta property="og:image" content="<%= image_url("og-image.png") %>"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="1200"/>
<meta property="og:description" content="<%= description_for(current_page) %>" />
2017-03-28 01:19:52 +00:00
<title><%= title_for(current_page) %></title>
2018-04-19 22:07:52 +00:00
<!-- Stylesheets -->
<link rel="stylesheet" href="https://use.typekit.net/wxf7mfi.css">
2017-03-28 01:19:52 +00:00
<%= stylesheet_link_tag "application" %>
2018-04-19 22:07:52 +00:00
<!-- Site scripts -->
<!--[if lt IE 9]><%= javascript_include_tag "ie-compat", defer: true %><![endif]-->
<%= javascript_include_tag "application", defer: true %>
2017-03-28 01:19:52 +00:00
2018-04-19 22:07:52 +00:00
<!-- Analytics scrpts -->
<script defer>
!function(){var e=window.analytics=window.analytics||[];if(!e.initialize)if(e.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{e.invoked=!0,e.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"],e.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),e.push(a),e}};for(var t=0;t<e.methods.length;t++){var a=e.methods[t];e[a]=e.factory(a)}e.load=function(e){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+e+"/analytics.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)},e.SNIPPET_VERSION="4.0.0",e.load("<%= segmentId %>")}}();var om597a24292a958,om597a24292a958_poll=function(){var e=0;return function(t,a){clearInterval(e),e=setInterval(t,a)}}();!function(e,t,a){if(e.getElementById(a))om597a24292a958_poll(function(){if(window.om_loaded&&!om597a24292a958)return(om597a24292a958=new OptinMonsterApp).init({s:"35109.597a24292a958",staging:0,dev:0,beta:0})},25);else{var n=!1,o=e.createElement("script");o.id=a,o.src="//a.optnmstr.com/app/js/api.min.js",o.async=!0,o.onload=o.onreadystatechange=function(){if(!(n||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState))try{n=om_loaded=!0,(om597a24292a958=new OptinMonsterApp).init({s:"35109.597a24292a958",staging:0,dev:0,beta:0}),o.onload=o.onreadystatechange=null}catch(e){}},(document.getElementsByTagName("head")[0]||document.documentElement).appendChild(o)}}(document,0,"omapi-script");
</script>
2017-03-28 01:19:52 +00:00
<%= yield_content :head %>
</head>
<body id="<%= body_id_for(current_page) %>" class="<%= body_classes_for(current_page) %>">
2017-03-28 15:21:45 +00:00
<%= mega_nav :vagrant %>
2017-03-28 01:19:52 +00:00
<div id="header" class="navigation navbar-static-top hidden-print">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="navbar-header">
<div class="navbar-brand">
<a href="/">
<%= inline_svg "logo-text.svg", height: 50, class: "logo" %>
</a>
</div>
<button class="navbar-toggle" type="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="buttons hidden-xs">
<nav class="navigation-links" role="navigation">
<ul class="main-links nav navbar-nav navbar-right">
<li><a href="/intro/index.html">Intro</a></li>
<li><a href="/docs/index.html">Docs</a></li>
<li><a href="https://www.amazon.com/gp/product/1449335837/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1449335837&linkCode=as2&tag=vagrant-20" target="_TOP">Book</a></li>
<li><a href="/vmware/index.html">VMware</a></li>
<li><a href="/community.html">Community</a></li>
<li>
<a href="/downloads.html">
<%= inline_svg "download.svg" %> Download
</a>
</li>
<li>
2018-03-07 22:10:30 +00:00
<a href="https://github.com/hashicorp/vagrant">
2017-03-28 01:19:52 +00:00
<%= inline_svg "github.svg" %> GitHub
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
<%= partial "layouts/sidebar" %>
<%= yield %>
<div id="footer" class="navigation hidden-print">
<div class="container">
<div class="row">
<div class="col-xs-12">
<ul class="footer-links nav navbar-nav">
<li><a href="/intro/index.html">Intro</a></li>
<li><a href="/docs/index.html">Docs</a></li>
<li><a href="https://www.amazon.com/gp/product/1449335837/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1449335837&linkCode=as2&tag=vagrant-20" target="_TOP">Book</a></li>
<li><a href="/vmware/index.html">VMware</a></li>
<li><a href="/community.html">Community</a></li>
<li><a href="/security.html">Security</a></li>
2017-04-06 21:33:42 +00:00
<li><a href="/assets/files/press-kit.zip">Press Kit</a></li>
2017-03-28 01:19:52 +00:00
</ul>
<ul class="footer-links nav navbar-nav navbar-right">
<li><a href="<%= github_url :current_page %>">Edit this page</a></li>
</ul>
</div>
</div>
</div>
</div>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name": "Vagrant",
"alternateName": "Vagrant by HashiCorp",
"manufacturer": "HashiCorp",
"url": "https://www.vagrantup.com",
2017-04-18 17:59:09 +00:00
"logo": "<%= File.join(base_url, image_path("logo-hashicorp.svg")) %>",
2017-03-28 01:19:52 +00:00
"sameAs": [
2018-03-07 22:10:30 +00:00
"https://github.com/hashicorp/vagrant"
2017-03-28 01:19:52 +00:00
]
}
</script>
</body>
</html>