Fix nil pointer dereference; fix database string vs template.html type difference.
Lookup post based on semantic url.