Why does my template link disappear?