mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Show gamejam banner to all users
This commit is contained in:
parent
5fd1666a5d
commit
085c99272e
@ -42,7 +42,6 @@ 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())
|
||||
|
||||
new = join(query.order_by(db.desc(Package.approved_at))).limit(4).all()
|
||||
|
Loading…
Reference in New Issue
Block a user