Fix blog post update & creation; refactor blog templates to macros