Fixed variable issue

Was using post in includes, which was unknown in posts.html