From 7876c2efa6de701d951cfb07ebd70f1248893c0c Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 22 Jan 2018 22:20:24 +0100 Subject: Using the same components for title-text --- crumbs/templates/base.html | 29 +++++----------------- crumbs/templates/components/header.html | 12 ---------- crumbs/templates/components/html_head.html | 18 ++++++++++++++ crumbs/templates/components/title_text.html | 8 ++++++- crumbs/templates/home.html | 37 +++++++---------------------- 5 files changed, 39 insertions(+), 65 deletions(-) delete mode 100644 crumbs/templates/components/header.html create mode 100644 crumbs/templates/components/html_head.html diff --git a/crumbs/templates/base.html b/crumbs/templates/base.html index 69ecd4b..dfe7139 100755 --- a/crumbs/templates/base.html +++ b/crumbs/templates/base.html @@ -1,21 +1,8 @@ - - - {% block title %}{{ SITENAME }}{% endblock title %} - - - - - - - - - - - - - + {% with type='base' %} + {% include "components/html_head.html" %} + {% endwith %}
@@ -23,13 +10,9 @@