summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2018-05-25 18:28:48 +0200
committerThorsten Wißmann <edu@thorsten-wissmann.de>2018-05-25 18:28:48 +0200
commite4cdf52024d3412eabba81b45e4c64af7afae5f1 (patch)
treef009e66ca1b491fd2234de20bc9a4d9e9f074bfe
parentaed40ff791e23213f94be6f461e3da4753b9e458 (diff)
Add an imprint
-rwxr-xr-xwww/compose.py7
-rw-r--r--www/imprint.txt14
2 files changed, 19 insertions, 2 deletions
diff --git a/www/compose.py b/www/compose.py
index 1d7aa21c..7b8c8499 100755
--- a/www/compose.py
+++ b/www/compose.py
@@ -25,7 +25,9 @@ tabs = OrderedDict([
("Wiki", "http://wiki.herbstluftwm.org"),
])
-page2tab = {}
+page2tab = {
+ 'imprint': "Imprint and Privacy Policy",
+}
filename = sys.argv[1]
name = filename.replace('-content.html', '')
@@ -92,7 +94,7 @@ print """\
<div class="tabbarseparator"></div>
"""
-subpages = tabs[page2tab[name]]
+subpages = tabs.get(page2tab[name], OrderedDict([]))
if len(subpages) > 1:
print '<div class="subpagebar">'
@@ -124,6 +126,7 @@ print open(filename).read()
print """\
<div class="footer">
Generated on {date}
+ - <a href=\"imprint.html\">Imprint and Privacy Policy</a>
</div>
""".format(date=datetime.datetime.now().strftime('%Y-%m-%d at %H:%M:%S %Z'))
diff --git a/www/imprint.txt b/www/imprint.txt
new file mode 100644
index 00000000..a8ee1c59
--- /dev/null
+++ b/www/imprint.txt
@@ -0,0 +1,14 @@
+
+
+Privacy Policy
+--------------
+herbstluftwm.org does not collect personal information from clients accessing
+the website. The Wiki subsection uses the usual session cookie. If you do not
+want to get cookies, then configure your browser accordingly.
+
+Imprint
+-------
+Thorsten Wißmann +
+edu _at_ thorsten-wissmann _dot_ de
+
+// vim: nowrap