1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

added a 'learn more' button

This commit is contained in:
Lynne Megido 2019-08-30 21:39:09 +10:00
parent 6e4963df0b
commit 2150d1fa6f
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@
<p class="centred" style="margin: 50px 0;"> <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> <a class="button btn-primary btn-large" href="/welcome" role="button"><i class="fas fa-play"></i> Get started</a>
<br> <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> <a class="button btn-secondary" href="https://github.com/Lynnesbian/FediBooks" role="button"><i class="fas fa-code"></i> Source code</a>
</p> </p>
</div> </div>

View file

@ -6,6 +6,7 @@ app.secret_key = "debug key"
@app.route("/") @app.route("/")
def hello(): def hello():
session['userid'] = 1 session['userid'] = 1
# session.clear()
if 'userid' in session: if 'userid' in session:
return render_template("home.html") return render_template("home.html")
else: else: