move head.html to base.html
This commit is contained in:
@@ -1,9 +1,60 @@
|
||||
{% extends 'head.html' %}
|
||||
|
||||
{% load flatpages %}
|
||||
{% load static %}
|
||||
|
||||
{% block body %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FET: {% block title %}Startseite{% endblock %}</title>
|
||||
|
||||
<meta name="author" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">
|
||||
<meta property="og:image" content="#"> <!--og:... = Facebook metadata-->
|
||||
<meta property="og:description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">
|
||||
<meta property="og:title" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="twitter:title" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="theme-color" content="#006599">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/favicons/apple-touch-icon.png' %}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'img/favicons/favicon-32x32.png' %}">
|
||||
<!--<link rel="icon" type="image/png" sizes="16x16" href="{% static 'img/favicons/favicon-16x16.png' %}">-->
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'img/fet_logo_white.png' %}">
|
||||
<link rel="manifest" href="{% static 'img/favicons/site.webmanifest' %}">
|
||||
<link rel="mask-icon" href="{% static 'img/favicons/safari-pinned-tab.svg' %}" color="#000000">
|
||||
<link rel="shortcut icon" href="{% static 'img/fet_logo_white.png' %}">
|
||||
<meta name="apple-mobile-web-app-title" content="FET - Fachschaft Elektrotechnik">
|
||||
<meta name="application-name" content="FET - Fachschaft Elektrotechnik">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/flowbite@1.5.5.css' %}" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
<!-- FontAwesome Kit -->
|
||||
<!--<script src="https://kit.fontawesome.com/fb26f70535.js" crossorigin="anonymous"></script>-->
|
||||
<link href="{% static 'fontawesomefree/css/fontawesome.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/brands.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/solid.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/regular.css' %}" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Prism.js Theme -->
|
||||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prism-themes@1/themes/prism-one-dark.min.css"> -->
|
||||
<link rel="stylesheet" href="{% static 'css/prism-one-dark.min.css' %}">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="{% static 'fonts/Inter-3.19/inter.css' %}">
|
||||
<!-- <link rel="stylesheet" href="{% static 'fonts/Poppins-4.003/poppins.css' %}"> -->
|
||||
<link rel="stylesheet" href="{% static 'fonts/Besley-2.0/besley.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'fonts/Fira_Code-6.2/fira_code.css' %}">
|
||||
|
||||
{% block galleryheader %}
|
||||
{% endblock %}
|
||||
{% block extraheader %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body x-data="search" x-ref="overflow" @keyup.escape="closeShowSearch">
|
||||
{% if request.user.is_authenticated %}
|
||||
<!-- SEARCH-BAR -->
|
||||
@@ -33,6 +84,7 @@
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- NAVBAR -->
|
||||
{% if not request.user.is_authenticated %}
|
||||
<nav class="navBar-md" x-data="myNavBar">
|
||||
@@ -181,4 +233,4 @@
|
||||
<script src="{% static 'js/prism-core@1.25.0.js' %}"></script>
|
||||
<script src="{% static 'js/prism-autoloader@1.25.0.js' %}"></script>
|
||||
</body>
|
||||
{% endblock %}
|
||||
</html>
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FET: {% block title %}Startseite{% endblock %}</title>
|
||||
|
||||
<meta name="author" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">
|
||||
<meta property="og:image" content="#"> <!--og:... = Facebook metadata-->
|
||||
<meta property="og:description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">
|
||||
<meta property="og:title" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="twitter:title" content="Fachschaft Elektrotechnik (FET)">
|
||||
<meta name="theme-color" content="#006599">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/favicons/apple-touch-icon.png' %}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'img/favicons/favicon-32x32.png' %}">
|
||||
<!--<link rel="icon" type="image/png" sizes="16x16" href="{% static 'img/favicons/favicon-16x16.png' %}">-->
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'img/fet_logo_white.png' %}">
|
||||
<link rel="manifest" href="{% static 'img/favicons/site.webmanifest' %}">
|
||||
<link rel="mask-icon" href="{% static 'img/favicons/safari-pinned-tab.svg' %}" color="#000000">
|
||||
<link rel="shortcut icon" href="{% static 'img/fet_logo_white.png' %}">
|
||||
<meta name="apple-mobile-web-app-title" content="FET - Fachschaft Elektrotechnik">
|
||||
<meta name="application-name" content="FET - Fachschaft Elektrotechnik">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/flowbite@1.5.5.css' %}" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
<!-- FontAwesome Kit -->
|
||||
<!--<script src="https://kit.fontawesome.com/fb26f70535.js" crossorigin="anonymous"></script>-->
|
||||
<link href="{% static 'fontawesomefree/css/fontawesome.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/brands.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/solid.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'fontawesomefree/css/regular.css' %}" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Prism.js Theme -->
|
||||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prism-themes@1/themes/prism-one-dark.min.css"> -->
|
||||
<link rel="stylesheet" href="{% static 'css/prism-one-dark.min.css' %}">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="{% static 'fonts/Inter-3.19/inter.css' %}">
|
||||
<!-- <link rel="stylesheet" href="{% static 'fonts/Poppins-4.003/poppins.css' %}"> -->
|
||||
<link rel="stylesheet" href="{% static 'fonts/Besley-2.0/besley.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'fonts/Fira_Code-6.2/fira_code.css' %}">
|
||||
|
||||
{% block galleryheader %}
|
||||
{% endblock %}
|
||||
{% block extraheader %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user