Configurable hard or soft links for Docpad documents.
Configuration
Add a list of document url aliases your docpad.coffee plugin configuration section.
plugins:
alias:
hard: true
symlink: true
aliases: {
'/source.html': '/target.html'
'/home.html': '/index.html'
}
extensions: [ 'html', 'json', ... ]
The 'hard' option controls wether to copy the actual source file or use http redirects.
Credits
Released under the BSD license. Full details in the included license file.
(c) 2013, Marcus Wendt (http:/www.field.io)