You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
482 B

  1. from flask import current_app, Blueprint, render_template, url_for, redirect
  2. default_views = Blueprint('default_views', __name__, url_prefix='/')
  3. @default_views.route('/')
  4. def index():
  5. return redirect(url_for('npc_views.generate_npc_party'))
  6. # return render_template('index.html')
  7. @default_views.route('/handbook')
  8. def handbook():
  9. return render_template('handbook.html')
  10. @default_views.route('/worldmap')
  11. def worldmap():
  12. return render_template('worldmap.html')