vagrant/website/www/source/layouts/layout.erb

163 lines
5.4 KiB
Plaintext
Raw Normal View History

2013-09-03 20:48:55 +00:00
<!DOCTYPE html>
<html>
<head>
<title><%= current_page.data.page_title ? "#{current_page.data.page_title} - " : "" %>Vagrant</title>
<!-- meta -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
2015-05-05 22:12:42 +00:00
<!-- favicon -->
<link rel="shortcut icon" href="favicon.ico">
2013-09-03 20:48:55 +00:00
<!-- lib styles -->
<%= stylesheet_link_tag "bootstrap", "vagrantup" %>
<!-- lib js -->
<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "modernizr" %>
<%= javascript_include_tag "bootstrap.min" %>
<%= javascript_include_tag "backstretch" %>
<%= javascript_include_tag "vagrantup" %>
<!-- fonts -->
2015-11-14 08:18:37 +00:00
<link href='//fonts.googleapis.com/css?family=Inconsolata|Open+Sans:300,600' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="//use.typekit.net/xfs6zus.js"></script>
2013-09-03 20:48:55 +00:00
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
2013-09-19 18:35:03 +00:00
<!-- Blog -->
2015-08-12 23:32:10 +00:00
<link rel="alternate" type="application/rss+xml" title="Vagrant Blog Feed" href="https://feeds.feedburner.com/vagrantup">
2013-09-03 20:48:55 +00:00
</head>
<body>
<!-- wrap everything -->
<div class="wrapper">
2015-11-14 08:18:37 +00:00
<!-- nav -->
2015-11-14 08:59:33 +00:00
<div id="header" class="navigation">
2015-11-14 08:18:37 +00:00
<div class="container-fluid">
<!-- vagrant logo -->
<div class="navbar-header">
<div class="navbar-brand">
<a class="logo" href="/">Vagrant</a>
<a class="by-hashicorp" href="https://hashicorp.com/"><span class="svg-wrap">by</span><%= partial "layouts/svg/svg-by-hashicorp" %><%= partial "layouts/svg/svg-hashicorp-logo" %>Hashicorp</a>
</div>
<button class="navbar-toggle" type="button">
2015-11-14 08:59:33 +00:00
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
2015-11-14 08:18:37 +00:00
</button>
</div>
<div class="buttons">
2015-11-14 08:18:37 +00:00
<nav class="navigation-links" role="navigation">
<ul class="main-links nav navbar-nav">
<li class="pill"><a href="/vmware">VMware Integration</a></li>
<li><a href="/downloads.html">Downloads</a></li>
<li><a href="https://atlas.hashicorp.com/boxes/search">Boxes</a></li>
2015-11-14 22:20:18 +00:00
<li><a href="https://docs.vagrantup.com/">Docs</a></li>
2015-11-14 08:18:37 +00:00
<li><a href="/blog.html">Blog</a></li>
<li><a href="/about.html">About</a></li>
</ul>
</nav>
</div>
</div>
</div>
2013-09-03 20:48:55 +00:00
<%= yield %>
2015-12-20 21:09:56 +00:00
<%= partial "layouts/mobile_nav" %>
2013-09-03 20:48:55 +00:00
<!-- footer -->
<footer>
<div class="container">
<div class="row">
<div class="span12">
<ul class="unstyled footer-nav">
2015-08-12 23:32:10 +00:00
<li><a href="https://docs.vagrantup.com/">Documentation</a></li>
2013-09-03 20:48:55 +00:00
<li><a href="/about.html">About</a></li>
<li><a href="/support.html">Support</a></li>
<% if current_page.url != "/" %>
<% relative_path = current_page.path.match(/.*\//).to_s
file = current_page.source_file.split("/").last
github_link = "https://github.com/mitchellh/vagrant/blob/master/website/www/source/#{relative_path}#{file}"
%>
<li class="li-under"><a href="<%= github_link %>">Edit this page</a></li>
<% end %>
2013-12-09 19:43:44 +00:00
<a href="/downloads.html">
2013-09-03 20:48:55 +00:00
<li class="button inline-button">Download</li>
</a>
</ul>
<ul class="unstyled logos">
<a href="http://www.vagrantup.com">
<li class="vagrant-logo-monochrome"></li>
</a>
<li><span>by</span></li>
<a href="http://www.hashicorp.com">
<li class="hashi-logo-monochrome "></li>
</a>
</ul> <!-- /span -->
</div> <!-- /span -->
</div> <!-- /row -->
<div class="row">
<div class="span12">
<h6 class="legal">
Copyright &copy; <%= Time.now.year %> HashiCorp
</h6>
</div> <!-- /span -->
2013-09-03 20:48:55 +00:00
</div> <!-- row -->
</div> <!-- container -->
</footer>
<!-- close .wrapper -->
</div>
2015-11-14 05:00:42 +00:00
<%= javascript_include_tag "lib/Base" %>
<%= javascript_include_tag "Sidebar" %>
2013-09-03 20:48:55 +00:00
<!-- load scripts -->
<!-- load full-width image into any div with class="big-background -->
<script>
2015-11-14 05:00:42 +00:00
$(".big-background").backstretch("assets/photos/full_width.jpg");
new Sidebar();
2013-09-03 20:48:55 +00:00
</script>
2015-07-10 21:21:00 +00:00
<!-- Google analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-15091924-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- AdRoll -->
<script type="text/javascript">
adroll_adv_id = "6QAAFJDIWBG3DJBDRJ7BEX";
adroll_pix_id = "PYT5HSNKNRDS7LMUR5B6YG";
(function () {
var oldonload = window.onload;
window.onload = function(){
__adroll_loaded=true;
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
if(oldonload){oldonload()}};
}());
</script>
2013-09-03 20:48:55 +00:00
</body>
</html>