add post schema and templates