Restructure: Fix urls in base and index templates.