Support exceptions for page title

// cc @tadatuta @tormozz48 
vkusovschina: I'd put `titles = []` before `traverseTreeNodes`