packer-cn/website/source/layouts/layout.erb

68 lines
1.9 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title><%= current_page.data.page_title ? "#{current_page.data.page_title} - " : "" %>Packer</title>
<meta name="description" content="Packer is a free and open source tool for creating golden images for multiple platforms from a single source configuration." />
<!-- HTML5 shiv -->
<!--[if lt IE 9]>
<script src="dist/html5shiv.js"></script>
<![endif]-->
<!-- css -->
<%= stylesheet_link_tag "bootstrap.min", "main", "prettify" %>
<!-- js -->
<%= javascript_include_tag "prettify" %>
<!-- fonts -->
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="//use.typekit.net/apr3jjs.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>
<nav class="dark-background">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<a href="https://github.com/mitchellh/packer">
<button class="download pull-right primary">GitHub</button>
</a>
<a href="/downloads.html">
<button class="download pull-right primary spaced">Download</button>
</a>
<a href="/" class="packer-logo pull-left">Packer</a>
<ul>
<li><a href="/intro">Intro</a></li>
<li><a href="/docs">Documentation</a></li>
<li><a href="/community">Community</a></li>
</ul>
</div>
</div>
</div>
</nav>
<%= yield %>
<div class="clearfix"></div>
<footer class="dark-background">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<ul>
<li class="packer"><a href="/">Packer</a></li>
<li>A <a href="http://www.hashicorp.com/">HashiCorp</a> project.</li>
<a href="http://www.hashicorp.com">
<li class="pull-right hashi-logo">&nbps;</li>
</a>
</ul>
</div>
</div>
</div>
</footer>
<script type="text/javascript">prettyPrint();</script>
</body>
</html>