diff --git a/lyrics/blueprints/index.py b/lyrics/blueprints/index.py index f62207d..a2727be 100644 --- a/lyrics/blueprints/index.py +++ b/lyrics/blueprints/index.py @@ -8,4 +8,4 @@ index = Blueprint('index', __name__) @index.route('/') def root(): - return render_template('index.html') + return render_template('index.tpl') diff --git a/lyrics/templates/base.tpl b/lyrics/templates/base.tpl new file mode 100644 index 0000000..22fe383 --- /dev/null +++ b/lyrics/templates/base.tpl @@ -0,0 +1,71 @@ + + + + + LyricsPOP + + + + + + + + + + + + + +
+ {% block content %} + content goes here! + {% endblock content %} +
+ + + + + + + + + + +{# vim:set ft=htmldjango: #} diff --git a/lyrics/templates/index.tpl b/lyrics/templates/index.tpl new file mode 100644 index 0000000..acbe998 --- /dev/null +++ b/lyrics/templates/index.tpl @@ -0,0 +1,6 @@ +{% extends "base.tpl" %} + +{% block content %} + Welcome to LyricsPOP. +{% endblock content %} +{# vim:set ft=htmldjango: #}