From: Jan Szejko Date: Wed, 5 Apr 2017 15:09:00 +0000 (+0200) Subject: minor stuff X-Git-Url: https://git.mdrn.pl/emels.git/commitdiff_plain/3b28f4c83300058d7415df66cad6ab8be10f1c3e?ds=inline minor stuff --- diff --git a/emels/templates/404.html b/emels/templates/404.html index 74ee437..c95ef3f 100644 --- a/emels/templates/404.html +++ b/emels/templates/404.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load i18n %} -{% block title %}{% trans "Page not found" %}{% endblock %} +{% block titleextra %}{% trans "Page not found" %} ::{% endblock %} {% block body %} diff --git a/emels/templates/base_super.html b/emels/templates/base_super.html index 99f2fbd..fcd5fda 100644 --- a/emels/templates/base_super.html +++ b/emels/templates/base_super.html @@ -4,12 +4,12 @@ {% load pipeline static %} {% load piwik_tags %} -{% macro title %}{% block title %}{% endblock %}{% endmacro %} +{% macro title %}{% block titleextra %}{% endblock %}{% endmacro %} {% macro site_name %}Emels{% endmacro %} - {% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %} + {% block full_title %}{% usemacro title %} {% usemacro site_name %}{% endblock %} {% stylesheet 'base' %} @@ -21,6 +21,7 @@ + diff --git a/emels/templates/flatpages/default.html b/emels/templates/flatpages/default.html deleted file mode 100755 index 1ab012c..0000000 --- a/emels/templates/flatpages/default.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base.html" %} -{% load textile_pl from fnp_markup %} - -{% block title %}{{ flatpage.title }}{% endblock %} - -{% block body %} -
-{{ flatpage.content|textile_pl }} -
-{% endblock %}