mirror of
https://github.com/sigmasternchen/grimoire-ssg
synced 2025-03-14 17:48:55 +00:00
fix: reversed it not a method
(I should really add some tests.)
This commit is contained in:
parent
d8153a6da3
commit
2ce375e23e
1 changed files with 1 additions and 1 deletions
|
@ -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 reversed(data.reversed):
|
||||
for entry in reversed(data):
|
||||
if "template" in entry:
|
||||
template_path = os.path.realpath(os.path.dirname(entry["filename"]) + "/" + entry["template"])
|
||||
template_dir = os.path.dirname(template_path)
|
||||
|
|
Loading…
Reference in a new issue