Fix links on archives page and add subpaths