combine conditionals for prerendering