refactored templates for post so header + meta could be reused, preventing unnecessary duplication