Using wrong variable name in posts/detail.html.