Creates URLs like /2012/12/15/merry-xmas
for your blog posts.
Requires momentjs to be installed: npm install --save moment
# Define our Configuration | |
docpadConfig = | |
# Define our own Collections | |
collections: | |
# Posts | |
# Anything outputted to the posts directory can be considered a post | |
# Sort the posts by newest first | |
# And set their layout to `post` automatically if it isn't already set |
Creates URLs like /2012/12/15/merry-xmas
for your blog posts.
Requires momentjs to be installed: npm install --save moment
https://gist.github.com/balupton/4752443 |