2013-06-08 01:41:02 -04:00
|
|
|
<!DOCTYPE html>
|
2013-06-20 20:27:04 -04:00
|
|
|
<html>
|
2015-07-22 20:18:08 -04:00
|
|
|
<head>
|
|
|
|
<title>
|
|
|
|
<%= [current_page.data.page_title, "Packer by HashiCorp"].compact.join(" - ") %>
|
|
|
|
</title>
|
2014-10-20 16:47:30 -04:00
|
|
|
<meta name="description" content="<%= current_page.data.description %>" />
|
2015-07-22 20:18:08 -04:00
|
|
|
<%= stylesheet_link_tag "application" %>
|
2015-03-19 10:43:25 -04:00
|
|
|
<meta name="HandheldFriendly" content="True" />
|
|
|
|
<meta name="MobileOptimized" content="320" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2015-07-22 20:18:08 -04:00
|
|
|
<link rel="shortcut icon" href="<%= image_path(" favicon.ico ") %>" type="image/x-icon">
|
|
|
|
<link rel="icon" href="<%= image_path(" favicon.ico ") %>" type="image/x-icon">
|
|
|
|
<script type="text/javascript" src="//use.typekit.net/apr3jjs.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
try {
|
|
|
|
Typekit.load();
|
|
|
|
} catch (e) {}
|
|
|
|
</script>
|
|
|
|
</head>
|
2015-11-10 05:02:08 -05:00
|
|
|
<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}" %>">
|
2015-11-10 02:52:21 -05:00
|
|
|
<div id="header" class="navigation white <%= current_page.data.page_title == "home" ? "" : "navbar-static-top" %>">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="logo" href="/">packer</a>
|
|
|
|
<a class="by-hashicorp white" 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 white" 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">
|
2015-07-22 20:18:08 -04:00
|
|
|
<li><a href="/intro">Intro</a></li>
|
2015-11-10 02:52:21 -05:00
|
|
|
<li><a href="/docs">Docs</a></li>
|
2015-07-22 20:18:08 -04:00
|
|
|
<li><a href="/community">Community</a></li>
|
|
|
|
</ul>
|
2015-11-10 02:52:21 -05:00
|
|
|
<ul class="external-links nav navbar-nav">
|
|
|
|
<li class="first download">
|
|
|
|
<a href="/downloads.html"><%= partial "layouts/svg/svg-download" %>Download</a>
|
|
|
|
</li>
|
|
|
|
<li class="github">
|
|
|
|
<a href="https://github.com/mitchellh/packer"><%= partial "layouts/svg/svg-github" %>GitHub</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-07-22 20:18:08 -04:00
|
|
|
<%= yield %>
|
|
|
|
<div class="clearfix"></div>
|
2015-11-10 05:02:08 -05:00
|
|
|
<footer id="footer" class="dark-background">
|
2015-07-22 20:18:08 -04:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<ul>
|
|
|
|
<li class="packer"><a href="/">Packer</a></li>
|
|
|
|
<li>
|
|
|
|
A <a href="http://www.hashicorp.com/">HashiCorp</a> project.
|
|
|
|
</li>
|
2015-07-22 22:28:35 -04:00
|
|
|
<% # current_page.path does not have an extension, but
|
|
|
|
# current_page.source_file does. Also, we don't want to show
|
|
|
|
# this on the homepage.
|
|
|
|
if current_page.url != "/"
|
|
|
|
current_page_source = current_page.path + \
|
|
|
|
current_page.source_file.split(current_page.path)[1] %>
|
2015-07-22 22:29:59 -04:00
|
|
|
<li>
|
|
|
|
<a href="https://github.com/mitchellh/packer/blob/master/website/source/<%= current_page_source %>">Edit this page</a>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<a href="http://www.hashicorp.com">
|
|
|
|
<li class="pull-right hashi-logo">&nbps;</li>
|
|
|
|
</a>
|
|
|
|
</ul>
|
2015-07-22 20:18:08 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-22 22:29:59 -04:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
<%= partial "layouts/google-analytics.html" %>
|
2015-07-28 18:04:19 -04:00
|
|
|
<%= partial "layouts/adroll.html" %>
|
2015-07-22 22:29:59 -04:00
|
|
|
</body>
|
2013-06-08 01:41:02 -04:00
|
|
|
</html>
|