From 8d9e320f0aabb6c972d54b923fc1090659297326 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 16 Oct 2017 09:41:03 +0200 Subject: [PATCH] added title block in templates --- ordr2/templates/layout.jinja2 | 2 +- ordr2/templates/mytemplate.jinja2 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ordr2/templates/layout.jinja2 b/ordr2/templates/layout.jinja2 index 6f14559..c1ca956 100644 --- a/ordr2/templates/layout.jinja2 +++ b/ordr2/templates/layout.jinja2 @@ -14,7 +14,7 @@ - Cookiecutter Alchemy project for the Pyramid Web Framework + {% block title %} {% endblock title %} diff --git a/ordr2/templates/mytemplate.jinja2 b/ordr2/templates/mytemplate.jinja2 index 3c42d66..1dc103c 100644 --- a/ordr2/templates/mytemplate.jinja2 +++ b/ordr2/templates/mytemplate.jinja2 @@ -1,5 +1,7 @@ {% extends "layout.jinja2" %} +{% block title %} ordr | Welcome {% endblock title%} + {% block content %}

Pyramid Alchemy project