A blog plugin.
This module only exposes one function, which is used to create the actual module with bound state data.
plated_plugin_redirect = require("./plated_plugin_redirect.js").create(opts,plated)
This is called automatically when the plated module is created and the returned plugin functions are added to the plugin call stack. Note that all of these modules are bound together and operate as a group with shared data.
dirs = plated_plugin_redirect.process_dirs(dirs)
Tweak all the base chunks grouped by dir name and pre cascaded/merged
chunks = plated_plugin_redirect.process_file(chunks)
Tweak a single file of chunks, only chunks found in this file will be available.
Is a special chunk name that we will parse as json and contain configuration data to setup redirects.