remove unused indexlink function and template variable