conditional logics for pages