added flatpages to template