Set layout title based on page data.