A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
308 B

  1. """
  2. Hyde Template interface realization for Jinja2
  3. """
  4. from hyde.template import Template
  5. class Jinja2Template(Template):
  6. def setup_env(config):
  7. """
  8. Uses the config object to initialize the jinja environment.
  9. """
  10. pass
  11. def render(template_name, context):
  12. pass