15 lines
271 B
Python
15 lines
271 B
Python
from flask import Flask, render_template
|
|
|
|
from utils.ym import ym_bp
|
|
|
|
app = Flask(__name__)
|
|
app.register_blueprint(ym_bp)
|
|
|
|
@app.route("/")
|
|
def index():
|
|
return render_template('main.html')
|
|
|
|
@app.route("/author")
|
|
def author():
|
|
return render_template('author.html')
|