Pass pageId to navigation template

Sometimes it is good to know which page actually the parent page in the navigation template. This PR passed the PR to the template.