From 1ca5049a06ffb93e032328d5bf0709f5bd8ee52c Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 2 Jan 2023 17:46:26 +0000 Subject: [PATCH] move head.html to base.html --- fet2020/templates/base.html | 110 ++++++++++++++++++++++++++---------- fet2020/templates/head.html | 60 -------------------- 2 files changed, 81 insertions(+), 89 deletions(-) delete mode 100644 fet2020/templates/head.html diff --git a/fet2020/templates/base.html b/fet2020/templates/base.html index b35cc80c..36425d2b 100644 --- a/fet2020/templates/base.html +++ b/fet2020/templates/base.html @@ -1,38 +1,90 @@ -{% extends 'head.html' %} - {% load flatpages %} {% load static %} -{% block body %} + + + + + + + FET: {% block title %}Startseite{% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% block galleryheader %} + {% endblock %} + {% block extraheader %} + {% endblock %} + + {% if request.user.is_authenticated %} - -
-
+
- - - -
+
+ + +
+
{% endif %} + {% if not request.user.is_authenticated %}