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.

24 lines
487 B

3 years ago
3 years ago
  1. #!/usr/bin/env python3
  2. from flask import Flask, url_for, request, render_template, abort
  3. app = Flask(__name__)
  4. @app.route('/')
  5. def index():
  6. return render_template('index.html')
  7. @app.route('/achievements')
  8. def achievements():
  9. return render_template('achievements.html')
  10. @app.route('/school')
  11. def school():
  12. return render_template('school.html')
  13. @app.route('/projects')
  14. def projects():
  15. return render_template('projects.html')
  16. if __name__ == "__main__":
  17. app.run()