summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/news4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/news b/bin/news
index 9630649..5c4c2bb 100644
--- a/bin/news
+++ b/bin/news
@@ -69,6 +69,10 @@ def content(c):
return c[m.end():]
+def template(type):
+ return read('templates/{}.html'.format(type))
+
+
def process(f):
c = read(f.path)