Skip to content

Instantly share code, notes, and snippets.

View fizzvr's full-sized avatar
πŸ‡ͺπŸ‡¨
Programando I'm Happy

Vladimir RodrΓ­guez fizzvr

πŸ‡ͺπŸ‡¨
Programando I'm Happy
View GitHub Profile
# 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

DocPad: Clean dates in post URLs

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