generate posts scaffold