mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +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__)
|
||||
|
||||
@ -25,6 +25,11 @@ class GameJam:
|
||||
reviews = []
|
||||
|
||||
|
||||
@bp.route("/gamejam/")
|
||||
def gamejam():
|
||||
return redirect("https://forum.minetest.net/viewtopic.php?t=27512")
|
||||
|
||||
|
||||
@bp.route("/")
|
||||
@menu.register_menu(bp, ".", "Home")
|
||||
def home():
|
||||
|
Loading…
Reference in New Issue
Block a user