Skip to content

Commit

Permalink
refactor(builder): WIP notes/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dairiki committed Jun 5, 2023
1 parent cf24cec commit 8b04a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lektor/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ def replace_with_file(self, filename, ensure_dir=True, copy=False):

def render_template_into(self, template_name, this, **extra):
"""Renders a template into the artifact."""
# FIXME: are there gains to be made by streaming the template directly to a
# file?
rv = self.build_state.env.render_template(
template_name, self.build_state.pad, this=this, **extra
)
Expand Down

0 comments on commit 8b04a45

Please sign in to comment.