open-nomad/website/source/layouts/layout.erb

147 lines
8 KiB
Plaintext
Raw Normal View History

2017-03-28 03:37:59 +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) %>">
2015-09-12 00:01:02 +00:00
2017-03-28 03:37:59 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="<%= image_path("favicons/apple-touch-icon.png") %>">
2017-07-20 16:50:29 +00:00
<link rel="icon" type="image/png" href="<%= image_path("favicons/favicon-194x194.png") %>" sizes="194x194">
<link rel="icon" type="image/png" href="<%= image_path("favicons/android-chrome-192x192.png") %>" sizes="192x192">
2017-03-28 03:37:59 +00:00
<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">
2017-07-20 16:50:29 +00:00
<link rel="mask-icon" href="<%= image_path("favicons/safari-pinned-tab.svg") %>" color="#25BA81">
<meta name="apple-mobile-web-app-title" content="HashiCorp Nomad">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="application-name" content="HashiCorp Nomad">
2017-03-28 03:37:59 +00:00
<meta name="msapplication-config" content="/microsoft-tile.xml" />
2017-07-20 16:50:29 +00:00
<meta name="msapplication-TileColor" content="#25BA81">
<meta name="msapplication-TileImage" content="<%= image_path("favicons/mstile-144x144.png") %>">
2017-03-28 03:37:59 +00:00
<meta name="theme-color" content="#ffffff">
2015-09-12 00:01:02 +00:00
2017-04-06 22:37:36 +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="Nomad 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 03:37:59 +00:00
<title><%= title_for(current_page) %></title>
<!-- Stylesheets -->
<link rel="stylesheet" href="https://use.typekit.net/wxf7mfi.css">
2017-03-28 03:37:59 +00:00
<%= stylesheet_link_tag "application" %>
<!-- Site scripts -->
<!--[if lt IE 9]><%= javascript_include_tag "ie-compat", defer: true %><![endif]-->
<%= javascript_include_tag "application", defer: true %>
2017-03-28 03:37:59 +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 03:37:59 +00:00
<%= yield_content :head %>
</head>
<body id="<%= body_id_for(current_page) %>" class="<%= body_classes_for(current_page) %>">
<%= mega_nav :nomad %>
<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="/guides/index.html">Guides</a></li>
<li><a href="/docs/index.html">Docs</a></li>
2017-05-26 23:10:38 +00:00
<li><a href="/api/index.html">API</a></li>
2017-12-04 23:39:16 +00:00
<li><a href="/resources.html">Resources</a></li>
2017-09-19 14:47:10 +00:00
<li><a href="https://www.hashicorp.com/products/nomad/?utm_source=oss&utm_medium=header-nav&utm_campaign=nomad">Enterprise</a></li>
2017-10-30 21:53:15 +00:00
<li><a href="https://demo.nomadproject.io">UI Demo</a></li>
2017-03-28 03:37:59 +00:00
<li>
<a href="/downloads.html">
<%= inline_svg "download.svg" %> Download
</a>
</li>
<li>
<a href="https://github.com/hashicorp/nomad">
<%= 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="/guides/index.html">Guides</a></li>
<li><a href="/docs/index.html">Docs</a></li>
2017-05-26 23:10:38 +00:00
<li><a href="/api/index.html">API</a></li>
2017-12-04 23:39:16 +00:00
<li><a href="/resources.html">Resources</a></li>
2017-09-19 14:47:10 +00:00
<li><a href="https://www.hashicorp.com/products/nomad/?utm_source=oss&utm_medium=header-nav&utm_campaign=nomad">Enterprise</a></li>
2017-10-30 21:53:15 +00:00
<li><a href="https://demo.nomadproject.io">UI Demo</a></li>
<li><a href="https://www.hashicorp.com/privacy">Privacy</a></li>
2017-03-28 03:37:59 +00:00
<li><a href="/security.html">Security</a></li>
2017-04-06 22:37:36 +00:00
<li><a href="/assets/files/press-kit.zip">Press Kit</a></li>
2017-03-28 03:37:59 +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": "Nomad",
"alternateName": "Nomad by HashiCorp",
"manufacturer": "HashiCorp",
"url": "https://www.nomadproject.io",
2017-04-18 18:15:06 +00:00
"logo": "<%= File.join(base_url, image_path("logo-hashicorp.svg")) %>",
2017-03-28 03:37:59 +00:00
"sameAs": [
"https://github.com/hashicorp/nomad"
]
}
</script>
</body>
</html>