mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
added a 'learn more' button
This commit is contained in:
parent
6e4963df0b
commit
2150d1fa6f
2 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
<p class="centred" style="margin: 50px 0;">
|
||||
<a class="button btn-primary btn-large" href="/welcome" role="button"><i class="fas fa-play"></i> Get started</a>
|
||||
<br>
|
||||
<a class="button btn-secondary" href="/about" role="button"><i class="fas fa-question"></i> Learn more</a>
|
||||
<a class="button btn-secondary" href="https://github.com/Lynnesbian/FediBooks" role="button"><i class="fas fa-code"></i> Source code</a>
|
||||
</p>
|
||||
</div>
|
||||
|
|
1
webui.py
1
webui.py
|
@ -6,6 +6,7 @@ app.secret_key = "debug key"
|
|||
@app.route("/")
|
||||
def hello():
|
||||
session['userid'] = 1
|
||||
# session.clear()
|
||||
if 'userid' in session:
|
||||
return render_template("home.html")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue