Skip to content
Snippets Groups Projects
Commit a94cf8d7 authored by HauErn Lien's avatar HauErn Lien
Browse files

Update 2 files

- /wiki/pages/tryhomepage.html
- /app.py
parent 3835392a
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,10 @@ def serve():
def home():
return render_template('/pages/home.html')
@app.route('/main')
def main_page():
return render_template('/pages/home.html')
@app.route('/<page>')
def pages(page):
return render_template(str(Path('pages')) + '/' + page.lower() + '.html')
......
......@@ -112,7 +112,12 @@
setTimeout(()=>{
intro.style.top = '-100vh';
setTimeout(()=>{
window.location.href = '/main';
}, 1000);
}, 2300)
})
})
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment