You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
508 B
Python

from flask import Blueprint, render_template
# import os
bp = Blueprint("home", __name__, url_prefix="/")
pages = ['intro','what-is-a-loot-box', 'crosswords', 'one-sentence-game-ideas', 'nim', 'mimic', 'unfinished-thoughts', 'the-leader', 'connect-less', 'xquisite', 'katamari', 'life-hacks', 'karaoke', 'outro']
@bp.route("/")
def home():
# path = "postit/static/contents"
# pages = [f.name for f in os.scandir(path) if f.is_dir()]
return render_template("home.html", pages=pages)