diff options
author | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 04:10:51 +0100 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 04:10:51 +0100 |
commit | dd8037abe7898ce120007b2a4f5fc3d96d20340b (patch) | |
tree | 17021b430bc00b16feae46114b9e02f885a21fc9 | |
parent | c1d8ad88a43a87ac7ecdf7f324750252a9e6505b (diff) |
Clean up static files, they're not templates
-rwxr-xr-x | halfnarp2.py | 3 | ||||
-rw-r--r-- | static/faq.html (renamed from templates/faq.html) | 0 | ||||
-rw-r--r-- | static/index.html (renamed from templates/index.html) | 0 |
3 files changed, 2 insertions, 1 deletions
diff --git a/halfnarp2.py b/halfnarp2.py index 314b1b4..0cc3906 100755 --- a/halfnarp2.py +++ b/halfnarp2.py | |||
@@ -25,10 +25,11 @@ class TalkPreference(db.Model): | |||
25 | talk_ids = db.Column(db.String) | 25 | talk_ids = db.Column(db.String) |
26 | 26 | ||
27 | 27 | ||
28 | """ | ||
28 | @app.route("/") | 29 | @app.route("/") |
29 | def root(): | 30 | def root(): |
30 | return render_template("index.html") | 31 | return render_template("index.html") |
31 | 32 | """ | |
32 | 33 | ||
33 | @app.route("/-/talkpreferences", methods=["GET"]) | 34 | @app.route("/-/talkpreferences", methods=["GET"]) |
34 | def sessions(): | 35 | def sessions(): |
diff --git a/templates/faq.html b/static/faq.html index aefd03d..aefd03d 100644 --- a/templates/faq.html +++ b/static/faq.html | |||
diff --git a/templates/index.html b/static/index.html index 2e93fb3..2e93fb3 100644 --- a/templates/index.html +++ b/static/index.html | |||