mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-14 08:34:35 +00:00
27 lines
671 B
Python
27 lines
671 B
Python
from app import app
|
|
from .utils import track_analytics
|
|
from flask import url_for, render_template, request, redirect
|
|
|
|
@app.route("/")
|
|
def home():
|
|
if 'src' in request.args:
|
|
track_analytics("home", '', request.args['src'])
|
|
return redirect(url_for('home'))
|
|
|
|
return render_template('home.html')
|
|
|
|
@app.route("/example")
|
|
def example():
|
|
return render_template('example.html')
|
|
|
|
@app.route("/impressum")
|
|
def impressum():
|
|
return render_template('impressum.html')
|
|
|
|
@app.route("/datenschutz")
|
|
def datenschutz():
|
|
return render_template('datenschutz.html')
|
|
|
|
@app.route("/developer")
|
|
def developer():
|
|
return render_template('developer/read.html') |