generate scaffold for posts