summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-03-20 15:17:36 +0100
committerLinnnus <[email protected]>2024-03-20 15:19:40 +0100
commitdb93ff98409fac1c1a3742d0f81484c985d6d55c (patch)
treea32c8eabb86b10588b6da96d124540f02cec2de1 /app.py
parent3c1e773f0a91f1a8ef9e637738bb39318ece68f3 (diff)
Add templating engine and index page
Diffstat (limited to 'app.py')
-rw-r--r--app.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app.py b/app.py
index 20932a8..e8bbc8b 100644
--- a/app.py
+++ b/app.py
@@ -1,9 +1,10 @@
from bottle import Bottle, run
+from bottle import jinja2_template as template
app = Bottle()
def hello():
- return "Hello World!"
+ return template("index")
run(app, host='localhost', port=8080)