add contact information to config
This commit is contained in:
@@ -5,8 +5,3 @@ bp = Blueprint("app", __name__, url_prefix = "/")
|
||||
@bp.route("/")
|
||||
def index():
|
||||
return redirect(url_for("topics.all_topics"))
|
||||
|
||||
|
||||
@bp.route("/babycode")
|
||||
def babycode_guide():
|
||||
return render_template('babycode.html')
|
||||
|
||||
13
app/routes/guides.py
Normal file
13
app/routes/guides.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from flask import Blueprint, render_template
|
||||
|
||||
bp = Blueprint('guides', __name__, url_prefix='/guides/')
|
||||
|
||||
|
||||
@bp.get('/babycode')
|
||||
def babycode():
|
||||
return render_template('guides/babycode.html')
|
||||
|
||||
|
||||
@bp.get('/contact')
|
||||
def contact():
|
||||
return render_template('guides/contact.html')
|
||||
Reference in New Issue
Block a user