Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    docpad-plugin-aliaspublic

    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)

    Keywords

    none

    install

    npm i docpad-plugin-alias

    Downloadsweekly downloads

    8

    version

    2.1.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar