Remove hard-wired '/' URLs from templates