From c5b81871d2e0cce2b6cde530c9751466f3d9e0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Wed, 14 Feb 2024 09:03:15 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99em=C3=BD=C5=A1lel=20jsem,=20zda=20apr?= =?UTF-8?q?=C3=ADly=20nevyhodit=20do=20*.js,=20ale=20nakonec=20jen=20takht?= =?UTF-8?q?o=20do=20separ=C3=A1tn=C3=ADho=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/templates/april.html | 61 +++++++++++++++++++++++++++++++++++++ mamweb/templates/base.html | 59 +---------------------------------- 2 files changed, 62 insertions(+), 58 deletions(-) create mode 100644 mamweb/templates/april.html diff --git a/mamweb/templates/april.html b/mamweb/templates/april.html new file mode 100644 index 00000000..c67fae54 --- /dev/null +++ b/mamweb/templates/april.html @@ -0,0 +1,61 @@ +{% if april == 2021 %} + +{% endif %} + + + +{% if april == 2023 %} + +{% endif %} \ No newline at end of file diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index f8012564..b8ba0039 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -121,64 +121,7 @@ - {% if april == 2021 %} - - {% endif %} - {% if april == 2023 %} - - {% endif %} + {% include 'april.html' %} {% block js %}{% endblock %}