refactor - page-type options, conditionals...