diff --git a/event_display.py b/event_display.py index 360271a001b2b3e0ab870bce379d61690b5c4e95..feba762fc530e8dede764306fb4e4fde10f2a99e 100644 --- a/event_display.py +++ b/event_display.py @@ -48,7 +48,7 @@ this_dir = os.path.dirname(os.path.abspath(__file__)) # Notice the use of trim_blocks, which greatly helps control whitespace. j2_env = Environment(loader=FileSystemLoader(this_dir), trim_blocks=True) -output = j2_env.get_template('code/template.html').render(html_list = html_list) -out_file = open("code/events_jinja.html", "w") +output = j2_env.get_template('template.html').render(html_list = html_list) +out_file = open("website/events.html", "w") out_file.write(output.encode("utf-8")) out_file.close() diff --git a/code/example.html b/example.html similarity index 100% rename from code/example.html rename to example.html diff --git a/code/template.html b/template.html similarity index 100% rename from code/template.html rename to template.html diff --git a/code/.gitkeep b/website/.gitkeep similarity index 100% rename from code/.gitkeep rename to website/.gitkeep diff --git a/code/fonts/.gitkeep b/website/fonts/.gitkeep similarity index 100% rename from code/fonts/.gitkeep rename to website/fonts/.gitkeep diff --git a/code/fonts/Roboto-Italic-webfont.woff b/website/fonts/Roboto-Italic-webfont.woff similarity index 100% rename from code/fonts/Roboto-Italic-webfont.woff rename to website/fonts/Roboto-Italic-webfont.woff diff --git a/code/fonts/Roboto-Light-webfont.woff b/website/fonts/Roboto-Light-webfont.woff similarity index 100% rename from code/fonts/Roboto-Light-webfont.woff rename to website/fonts/Roboto-Light-webfont.woff diff --git a/code/fonts/Roboto-Regular-webfont.woff b/website/fonts/Roboto-Regular-webfont.woff similarity index 100% rename from code/fonts/Roboto-Regular-webfont.woff rename to website/fonts/Roboto-Regular-webfont.woff diff --git a/code/img/.gitkeep b/website/img/.gitkeep similarity index 100% rename from code/img/.gitkeep rename to website/img/.gitkeep diff --git a/code/img/bg-2.jpg b/website/img/bg-2.jpg similarity index 100% rename from code/img/bg-2.jpg rename to website/img/bg-2.jpg diff --git a/code/img/logo-dfgBoilerPlate.png b/website/img/logo-dfgBoilerPlate.png similarity index 100% rename from code/img/logo-dfgBoilerPlate.png rename to website/img/logo-dfgBoilerPlate.png diff --git a/code/img/logo-idivEventCalendar.png b/website/img/logo-idivEventCalendar.png similarity index 100% rename from code/img/logo-idivEventCalendar.png rename to website/img/logo-idivEventCalendar.png diff --git a/code/jquery.min.js b/website/jquery.min.js similarity index 100% rename from code/jquery.min.js rename to website/jquery.min.js diff --git a/code/style.css b/website/style.css similarity index 100% rename from code/style.css rename to website/style.css