This allows us to delete lots of code and avoid hard-coding the navigation. This does mean that {{ current_page }} isn't always available and needs to be conditionally used.