generate static_pages controller