Show gamejam banner to all users

This commit is contained in:
rubenwardy 2021-11-24 23:14:32 +00:00
parent 5fd1666a5d
commit 085c99272e
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ def home():
count = query.count()
featured = query.filter(Package.tags.any(name="featured")).order_by(func.random()).limit(6).all()
if current_user.is_authenticated:
featured.insert(0, GameJam())
featured.insert(0, GameJam())
new = join(query.order_by(db.desc(Package.approved_at))).limit(4).all()
pop_mod = join(query.filter_by(type=PackageType.MOD).order_by(db.desc(Package.score))).limit(8).all()