New template asset function