summaryrefslogtreecommitdiff
path: root/template.py
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-08 08:23:37 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-08 08:23:37 +0100
commit40bb0830aa5c761cffc7706517445518affecc21 (patch)
tree1dbb0e6d8e0d783d59ebbc9bc92c224974fc98bb /template.py
parent17b634a847f0bc0f3204c3c6bd5dcdfbbf9466f2 (diff)
downloadwww-40bb0830aa5c761cffc7706517445518affecc21.tar.gz
www-40bb0830aa5c761cffc7706517445518affecc21.tar.bz2
www-40bb0830aa5c761cffc7706517445518affecc21.zip
add documentation, missing licensing statements, some DE fixes
Diffstat (limited to 'template.py')
-rwxr-xr-xtemplate.py9
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 @@
#!/usr/bin/env python
-
+# This file is in the public domain.
+#
+# This script runs the jinga2 templating engine on an input template-file
+# using the specified locale for gettext translations, and outputs
+# the resulting (HTML) ouptut-file.
+#
+# Note that the gettext files need to be prepared first. This script
+# is thus to be invoked via the Makefile.
import os
import sys
import re