about summary refs log tree commit diff
path: root/other/website/src/make_page.py
diff options
context:
space:
mode:
Diffstat (limited to 'other/website/src/make_page.py')
-rw-r--r--other/website/src/make_page.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/other/website/src/make_page.py b/other/website/src/make_page.py
new file mode 100644
index 00000000..57d6ef51
--- /dev/null
+++ b/other/website/src/make_page.py
@@ -0,0 +1,6 @@
+import sys
+
+template = "".join(file("template.html").readlines())
+content = "".join(sys.stdin.readlines())
+final_page = template.replace("%CONTENT%", content)
+print final_page
\ No newline at end of file