Almost there with templates and posts