updating detail template to have a link to blog post content.

also added an import for reverse