Adding file extension to the source declaration in the template block.