diff options
Diffstat (limited to 'template.py')
-rwxr-xr-x | template.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/template.py b/template.py index e86574db..f872ad3e 100755 --- a/template.py +++ b/template.py | |||
@@ -1,5 +1,12 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | 2 | # This file is in the public domain. | |
3 | # | ||
4 | # This script runs the jinga2 templating engine on an input template-file | ||
5 | # using the specified locale for gettext translations, and outputs | ||
6 | # the resulting (HTML) ouptut-file. | ||
7 | # | ||
8 | # Note that the gettext files need to be prepared first. This script | ||
9 | # is thus to be invoked via the Makefile. | ||
3 | import os | 10 | import os |
4 | import sys | 11 | import sys |
5 | import re | 12 | import re |