Add support for specifying different permalinks in config
Fix small bug
Start a reference as to how the $content array is setup