improved inline templates to use their checksum as name