1 | PORT: 3000
|
2 | index: "home"
|
3 | title: "Jen - Static Site Generator"
|
4 | root: "http://jen.ryanfunduk.com"
|
5 | analytics_id: "UA-XXXXXXX-N"
|
6 | deploy: "rsync -r build/ somehost.com:/var/www/something/"
|
7 | helpers:
|
8 | url_for: ( permalink ) ->
|
9 | "/#{permalink}"
|
10 | link_to: ( permalink, custom_title ) ->
|
11 | return "<strike>MISSING</strike>" unless @_.detect( @_.flatten([@posts,@pages]), ( p ) -> p.permalink == permalink )
|
12 | "<a href='#{@h.url_for(permalink)}'>#{custom_title || @title}</a>"
|