Generate static-pages controller