master
Aevann1 2021-07-25 04:54:07 +02:00
parent b6dbb02496
commit b9e52eb4ca
1 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ def front_all(v):
ids = ids[0:25]
# check if ids exist
posts = get_posts(ids, sort=sort, v=v)
posts = get_posts(ids, v=v)
if request.path == "/": return render_template("home.html", v=v, listing=posts, next_exists=next_exists, sort=sort, t=t, page=page)
else: return jsonify({"data": [x.json for x in posts], "next_exists": next_exists})
@ -312,7 +312,7 @@ def changelog(v):
ids = ids[0:25]
# check if ids exist
posts = get_posts(ids, sort=sort, v=v)
posts = get_posts(ids, v=v)
return {'html': lambda: render_template("changelog.html",
v=v,