diff --git a/goathacks/__init__.py b/goathacks/__init__.py index 9539750..d86bd72 100644 --- a/goathacks/__init__.py +++ b/goathacks/__init__.py @@ -44,6 +44,25 @@ def create_app(): from goathacks import cli app.cli.add_command(cli.gr) + + #Sponsor page + @app.route("/sponsor") + def sponsorindex(): + return render_template('home/sponsor/index.html') + + @app.route('/sponsor/') + def sponsor(path): + return send_from_directory('templates/home/sponsor', path) + + #Code of condcut + @app.route("/conduct") + def conductindex(): + return render_template('home/conduct/index.html') + + @app.route('/conduct/') + def conduct(path): + return send_from_directory('templates/home/conduct', path) + # Homepage @app.route("/") def index_redirect(): diff --git a/goathacks/templates/header.html b/goathacks/templates/header.html index bc6489a..fce6501 100644 --- a/goathacks/templates/header.html +++ b/goathacks/templates/header.html @@ -22,7 +22,7 @@