parameterize "in the" logic for #313, and disable for function pages