From 945594509e6a19ab0229e9949691e2f7652ea500 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Tue, 15 Jun 2021 23:28:40 -0400 Subject: Changed / to /site, added views.py, README amended Previously this program served files in the 'templates/site' dir on '/', but this caused problems when accessing raw files using '/raw/' which is useful for embedding or quickly downloading content. It's also an inconvenience to the user, since they have to add a word rather than double-clicking an replacing it. The main server file and the base and index templates have been changed to reflect this. The codebase has been reorganized to separate views from the main flask app. Blueprints were avoided since only one blueprint would be needed so thus unnecessary. README and docstrings were also expanded for clarity and edited for errors. Some comments --- templates/site/tutorials/py-style.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 templates/site/tutorials/py-style.html (limited to 'templates/site/tutorials/py-style.html') diff --git a/templates/site/tutorials/py-style.html b/templates/site/tutorials/py-style.html deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3