docpad-plugin-alias

2.1.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i docpad-plugin-alias

Weekly Downloads

1

Version

2.1.0

License

none

Last publish

Collaborators

  • field