mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 15:07:35 +01:00
Replace game jam banner
This commit is contained in:
parent
ac3047f124
commit
e50f7094f8
@ -7,12 +7,15 @@ from sqlalchemy.orm import joinedload
|
|||||||
from sqlalchemy.sql.expression import func
|
from sqlalchemy.sql.expression import func
|
||||||
|
|
||||||
|
|
||||||
|
GAMEJAM_BANNER = "https://raw.githubusercontent.com/GreenXenith/minetestgamejam/master/2022/images/banner_textless.png"
|
||||||
|
|
||||||
|
|
||||||
class GameJam:
|
class GameJam:
|
||||||
cover_image = type("", (), dict(url="https://raw.githubusercontent.com/GreenXenith/minetestgamejam/master/2022/images/banner.png"))()
|
cover_image = type("", (), dict(url=GAMEJAM_BANNER))()
|
||||||
tags = []
|
tags = []
|
||||||
|
|
||||||
def getCoverImageURL(self):
|
def getCoverImageURL(self):
|
||||||
return "https://raw.githubusercontent.com/GreenXenith/minetestgamejam/master/2022/images/banner.png"
|
return GAMEJAM_BANNER
|
||||||
|
|
||||||
def getURL(self, _name):
|
def getURL(self, _name):
|
||||||
return "/gamejam/"
|
return "/gamejam/"
|
||||||
|
Loading…
Reference in New Issue
Block a user