Clean up pages in title

[#77454982]

- Removed logic on site base to determine index. Manually managed on
page template.

- Removed awkward logic for writing page numbers on Pages templates