Submit Search
Upload
Nanoc
•
2 likes
•
847 views
joren de groof
Follow
Technology
Economy & Finance
Report
Share
Report
Share
1 of 34
Download now
Download to read offline
Recommended
Asp.Net Silverlight Loeng
Asp.Net Silverlight Loeng
Jaana Metsamaa
Tutorial: Html5 And Css3 Site
Tutorial: Html5 And Css3 Site
Adam Stewart
P Align=
P Align=
guest8542c8
Caminos de ana
Caminos de ana
CEPA ZARAUTZ
Blog to the top - Floor Drees
Blog to the top - Floor Drees
dewereldvanikki
Testing
Testing
joren de groof
Validation
Validation
joren de groof
Something something rack
Something something rack
joren de groof
Recommended
Asp.Net Silverlight Loeng
Asp.Net Silverlight Loeng
Jaana Metsamaa
Tutorial: Html5 And Css3 Site
Tutorial: Html5 And Css3 Site
Adam Stewart
P Align=
P Align=
guest8542c8
Caminos de ana
Caminos de ana
CEPA ZARAUTZ
Blog to the top - Floor Drees
Blog to the top - Floor Drees
dewereldvanikki
Testing
Testing
joren de groof
Validation
Validation
joren de groof
Something something rack
Something something rack
joren de groof
Git techtalk
Git techtalk
joren de groof
Tatft
Tatft
joren de groof
Rubyandrails
Rubyandrails
joren de groof
Rails Servers
Rails Servers
joren de groof
Radiant
Radiant
joren de groof
Prawn
Prawn
joren de groof
Mistakes
Mistakes
joren de groof
Git
Git
joren de groof
Cucumber
Cucumber
joren de groof
More Related Content
More from joren de groof
Git techtalk
Git techtalk
joren de groof
Tatft
Tatft
joren de groof
Rubyandrails
Rubyandrails
joren de groof
Rails Servers
Rails Servers
joren de groof
Radiant
Radiant
joren de groof
Prawn
Prawn
joren de groof
Mistakes
Mistakes
joren de groof
Git
Git
joren de groof
Cucumber
Cucumber
joren de groof
More from joren de groof
(9)
Git techtalk
Git techtalk
Tatft
Tatft
Rubyandrails
Rubyandrails
Rails Servers
Rails Servers
Radiant
Radiant
Prawn
Prawn
Mistakes
Mistakes
Git
Git
Cucumber
Cucumber
Nanoc
1.
nanoc
2.
static site compiler
3.
fast
4.
EXTREME CACHING
5.
safe
6.
versionable
7.
deploy without worries
8.
example
9.
% nanoc create_site arrrrcamp
10.
% cd arrrrcamp % nanoc compile
11.
12.
pages
13.
<h1>A Brand New nanoc Site</h1> <p>You've just created a new nanoc site. The page you are looking at right now is the home page for your site (and it's probably the only page).</p>
14.
layouts
15.
<body> <div id=quot;mainquot;> <%= @page.content %> </div> <div id=quot;sidebarquot;> <h2>Documentation</h2> <ul> ... </ul> <h2>Community</h2> <ul> ... </ul> </div> </body>
16.
page metadata
17.
title: quot;My Home Pagequot; author: quot;Denis Defreynequot; created_on: 2009‐05‐08
18.
filters
19.
rdoc
bluecloth haml rainpress rubypants erubis filters rainpress redcloth erb sass maruku
20.
My Home Page ============ Lorem ipsum… * Foo * Bar * Baz
21.
<h1>My Home Page</h1> <p>Lorem ipsum…</p> <ul> <li>Foo</li> <li>Bar</li> <li>Baz</li> </ul>
22.
class Rainpress < Nanoc::Filter identifier :rainpress def run(content) ::Rainpress.compress(content) end end
23.
helpers
24.
<%= link_to( 'A random page written by me' @pages.find { |p| p.author == 'Denis' } ) %>
25.
demo
26.
real sites
27.
28.
29.
30.
31.
32.
33.
you can haz questions?
34.
nanoc.stoneship.org freenode
#nanoc or google “nanoc”
Download now