Use page title if it exists in the layout
Third attempt at fixing up integer types