This commit is contained in:
Aevann1 2021-12-19 15:01:28 +02:00
parent 37233257ca
commit cb87196eee
111 changed files with 682 additions and 339 deletions

View file

@ -20,7 +20,9 @@ def post_embed(id, v):
p = get_post(id, v, graceful=True)
return render_template("submission_listing.html", listing=[p], v=v)
if v and v.oldsite: template = ''
else: template = 'CHRISTMAS/'
return render_template(f"{template}submission_listing.html", listing=[p], v=v)
@app.context_processor
def inject_constants():