def render_template_into(self, template_name, this, **extra):
        rv = self.build_state.env.render_template(
            template_name, self.build_state.pad,
            this=this, **extra)
        with self.open('wb') as f:
            f.write(rv.encode('utf-8') + b'\n')
Renders a template into the artifact.  The default behavior is to
dataset/ETHPy150Open lektor/lektor/lektor/builder.py/Artifact.render_template_into