diff options
Diffstat (limited to 'make_site.py')
-rwxr-xr-x | make_site.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make_site.py b/make_site.py index d335f979..55b8510f 100755 --- a/make_site.py +++ b/make_site.py | |||
@@ -47,13 +47,14 @@ def main(): | |||
47 | if DEBUG: | 47 | if DEBUG: |
48 | print("generating html from jinja2 templates...") | 48 | print("generating html from jinja2 templates...") |
49 | x.run("template", conf, env) | 49 | x.run("template", conf, env) |
50 | if DEBUG: | 50 | if DEBUG >= 2: |
51 | print(Path.cwd()) | 51 | print(Path.cwd()) |
52 | _ = Path("rendered") | 52 | _ = Path("rendered") |
53 | for child in _.iterdir(): | 53 | for child in _.iterdir(): |
54 | print(child) | 54 | print(child) |
55 | if DEBUG: | 55 | if DEBUG >= 2: |
56 | print(Path.cwd()) | 56 | print(Path.cwd()) |
57 | if DEBUG: | ||
57 | print("generating html from jinja2 news templates...") | 58 | print("generating html from jinja2 news templates...") |
58 | x.run("news", conf, env) | 59 | x.run("news", conf, env) |
59 | #for lang in conf["langs_full"]: | 60 | #for lang in conf["langs_full"]: |