Remove template logic from model Post
Fix newpost uri building