mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-08 22:17:34 +01:00
Add gamejam redirect
This commit is contained in:
parent
21d5d9d47e
commit
afb2f9ec00
@ -1,4 +1,4 @@
|
|||||||
from flask import Blueprint, render_template
|
from flask import Blueprint, render_template, redirect
|
||||||
|
|
||||||
bp = Blueprint("homepage", __name__)
|
bp = Blueprint("homepage", __name__)
|
||||||
|
|
||||||
@ -25,6 +25,11 @@ class GameJam:
|
|||||||
reviews = []
|
reviews = []
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route("/gamejam/")
|
||||||
|
def gamejam():
|
||||||
|
return redirect("https://forum.minetest.net/viewtopic.php?t=27512")
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/")
|
@bp.route("/")
|
||||||
@menu.register_menu(bp, ".", "Home")
|
@menu.register_menu(bp, ".", "Home")
|
||||||
def home():
|
def home():
|
||||||
|
Loading…
Reference in New Issue
Block a user