diff --git a/grimoiressg/modules/templating.py b/grimoiressg/modules/templating.py index 12f90a0..01bdc17 100644 --- a/grimoiressg/modules/templating.py +++ b/grimoiressg/modules/templating.py @@ -13,7 +13,7 @@ def render_templates(data, context, config): files_written = 0 # render templates in reverse order, so included renderings can be used - for entry in data.reversed(): + for entry in reversed(data.reversed): if "template" in entry: template_path = os.path.realpath(os.path.dirname(entry["filename"]) + "/" + entry["template"]) template_dir = os.path.dirname(template_path)