UNPKG
roots-records
Version:
latest (0.5.1)
0.5.1
0.5.0
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.0
0.0.2
dynamic content functionality for roots
github.com/carrot/roots-records
carrot/roots-records
roots-records
/
test
/
fixtures
/
single_views_no_array
/
app.coffee
17 lines
(13 loc)
•
289 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
records =
require
'../../..'
module.exports = ignores: [
"**/_*"
] extensions: [
records
(
books
:
data
: {
title
:
"The Great Dogesby"
}
template
:
'_single.jade'
out
: (obj) ->
"posts/#{obj.title}.html"
) ] jade: pretty:
true