Change link for sample in template detail