template, conditional link adjustments