diff options
Diffstat (limited to 'make_site.py')
-rwxr-xr-x | make_site.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/make_site.py b/make_site.py index 55b8510f..16a67b9a 100755 --- a/make_site.py +++ b/make_site.py | |||
@@ -12,7 +12,7 @@ | |||
12 | # | 12 | # |
13 | # This script runs the jinja2 templating engine on an input template-file | 13 | # This script runs the jinja2 templating engine on an input template-file |
14 | # using the specified locale for gettext translations, and outputs | 14 | # using the specified locale for gettext translations, and outputs |
15 | # the resulting (HTML) ouptut-file. | 15 | # the resulting (HTML) output-file. |
16 | # | 16 | # |
17 | # Note that the gettext files need to be prepared first. This script | 17 | # Note that the gettext files need to be prepared first. This script |
18 | # is thus to be invoked via the Makefile. | 18 | # is thus to be invoked via the Makefile. |
@@ -44,6 +44,10 @@ def main(): | |||
44 | x = gen_site(DEBUG) | 44 | x = gen_site(DEBUG) |
45 | conf = x.load_config("www.yml") | 45 | conf = x.load_config("www.yml") |
46 | x.gen_abstract(conf, "newsposts", "abstract", "page", 1000) | 46 | x.gen_abstract(conf, "newsposts", "abstract", "page", 1000) |
47 | # for lang in conf["langs_full"]: | ||
48 | # x.gen_newspost_content(conf, "newsposts", "content", "page", lang) | ||
49 | x.gen_newspost_content(conf, "newsposts", "content", "page", "en") | ||
50 | x.gen_rss("inc", conf, env) | ||
47 | if DEBUG: | 51 | if DEBUG: |
48 | print("generating html from jinja2 templates...") | 52 | print("generating html from jinja2 templates...") |
49 | x.run("template", conf, env) | 53 | x.run("template", conf, env) |