docpad-plugin-alias

Configurable hard or soft links for Docpad documents.

Configurable hard or soft links for Docpad documents.

Add a list of document url aliases your docpad.coffee plugin configuration section.

plugins:
    alias:
        hard: true
        aliases: {
            '/source.html': '/target.html'
            '/home.html': '/index.html'
        }

The 'hard' option controls wether to copy the actual source file or use http redirects.

Released under the BSD license. Full details in the included license file.

(c) 2013, Marcus Wendt (http:/www.field.io)