Switch to nanoc
This commit is contained in:
parent
64313ec3ce
commit
6bfe583522
24 changed files with 307 additions and 74 deletions
1
layouts/blank.html
Normal file
1
layouts/blank.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<%= yield %>
|
||||
19
layouts/default.html
Normal file
19
layouts/default.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>A Brand New nanoc Site - <%= @item[:title] %></title>
|
||||
<link rel="stylesheet" href="<%= @items['/stylesheet/'].path %>">
|
||||
|
||||
<!-- you don't need to keep this, but it's cool for stats! -->
|
||||
<meta name="generator" content="nanoc <%= Nanoc::VERSION %>">
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<%= yield %>
|
||||
</div>
|
||||
<div id="sidebar">
|
||||
<%= @items["/toc/"].compiled_content(:snapshot => :last) %>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue