Corrected template resource linking