1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-06-26 11:37:35 +00:00
nyaa/nyaa/views/site.py

24 lines
462 B
Python
Raw Normal View History

import flask
bp = flask.Blueprint('site', __name__)
# @bp.route('/about', methods=['GET'])
# def about():
# return flask.render_template('about.html')
@bp.route('/rules', methods=['GET'])
def rules():
return flask.render_template('rules.html')
@bp.route('/help', methods=['GET'])
def help():
return flask.render_template('help.html')
@bp.route('/xmlns/nyaa', methods=['GET'])
def xmlns_nyaa():
return flask.render_template('xmlns.html')