Fix base url, index template