add contact information to config

This commit is contained in:
2025-12-04 06:16:00 +03:00
parent 73af2dc3b9
commit c70f13d069
15 changed files with 90 additions and 14 deletions

View File

@@ -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
View 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')