Fix _navigation_links so that it uses the appropriate template engine