def register_template(self, template_name, template):
        if not hasattr(template, 'timestamp'):
            template.timestamp = None  # or time.time()
        self.templates[template_name] = template
Register an template object.
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Engine.register_template