Use apply to interpolate the last DATA argument into the render-template* call.
The retrieval of a blog post from the db via the url now works properly.
Fix the where clause to lookup the url rather than the title.
Fix the regex to look for any number of A-Za-z0-9\- characters instead of just one.
Export the required functions from the handlers module.
Changed the template variables due to not being able to find out how Djula deals with object traversals.