From 88207be5cb6e6914949810467c0548f5981fc1c4 Mon Sep 17 00:00:00 2001 From: JoaK Date: Wed, 15 Jun 2016 02:55:01 +0200 Subject: and moreeeee --- site.py | 28 +++++++++++++++++++++++----- static/script.js | 5 +++++ 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 static/script.js diff --git a/site.py b/site.py index 3ff05c0..7f432c4 100644 --- a/site.py +++ b/site.py @@ -4,12 +4,17 @@ import os folder = "manuals" -header = """""" +header = """""" middlepart = """""" -footer = """""" +footer = """ + +""" + +middlepart += """ +
+ +
""" + +f = open('index.html', 'w') +f.write(header+middlepart+footer) +f.close() diff --git a/static/script.js b/static/script.js new file mode 100644 index 0000000..eba673e --- /dev/null +++ b/static/script.js @@ -0,0 +1,5 @@ +var options = { + valueNames: [ 'title', 'description' ] +}; + +var hackerList = new List('the-list', options); -- cgit v1.2.3