fix pages url generation

Fix pages url generation in ``navigation.html`` template.