include linkref on all templates