mirror of
https://github.com/kennethreitz/changelogdash.git
synced 2026-06-05 23:10:17 +00:00
simple index template
This commit is contained in:
@@ -0,0 +1 @@
|
||||
from .index import index
|
||||
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from flask import Blueprint, g, render_template
|
||||
|
||||
index = Blueprint('home', __name__)
|
||||
|
||||
|
||||
@index.route('/')
|
||||
def get_index():
|
||||
return render_template('index.html')
|
||||
Reference in New Issue
Block a user