trying to addpost page, weird issues with templating