Fixing posts/posts.html template to use an assigned variable.