intro and outro, home order

master
km0 2 years ago
parent 1196849b36
commit cfabe06fbd

File diff suppressed because one or more lines are too long

@ -3,7 +3,7 @@ import json
from . import dump
import os
index = ['what-is-a-loot-box', 'crosswords', 'one-sentence-game-ideas', 'nim', 'mimic', 'unfinished-thoughts', 'the-leader', 'connect-less', 'xquisite', 'katamari', 'life-hacks', 'karaoke']
index = ['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 = Blueprint(

@ -3,11 +3,13 @@ import os
bp = Blueprint("home", __name__, url_prefix="/")
index = ['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()]
# path = "postit/static/contents"
# pages = [f.name for f in os.scandir(path) if f.is_dir()]
return render_template("home.html", pages=pages)
return render_template("home.html", pages=index)

@ -1 +1 @@
Subproject commit 509de21339967cd9d2bac73071a56e2eacb78a12
Subproject commit a84e5b4bc23c388e6c92181724f7315345188485

@ -12,10 +12,6 @@
</head>
<body>
<div class="post-it">
<img src="{{url_for('static', filename='img/index_purple.jpg')}}" >
</div>
{%for contribution, contents in contributions.items()%}
{% for content in contents %}

Loading…
Cancel
Save