add changeable title in header

This commit is contained in:
2022-01-20 12:30:10 +00:00
committed by root
parent 0015b1f534
commit cf3ae74f44
10 changed files with 47 additions and 29 deletions

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}FET: Login{% endblock %}
{% block content %} {% block content %}
<!-- Main Content --> <!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-grow flex flex-col"> <main class="container mx-auto w-full px-4 my-8 flex-grow flex flex-col">

View File

@@ -6,7 +6,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FET: Startseite</title> <title>{% block title %}FET: Startseite{% endblock %}</title>
<meta name="author" content="Fachschaft Elektrotechnik (FET)"> <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 name="description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}FET: Blackboard{% endblock %}
{% block content %} {% block content %}
<!-- Main Content --> <!-- Main Content -->
<main class="container mx-auto w-full px-4 mt-8 flex-1"> <main class="container mx-auto w-full px-4 mt-8 flex-1">

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}FET: {{ flatpage.title }}{% endblock %}
{% block content %} {% block content %}
<!-- Main Content --> <!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1"> <main class="container mx-auto w-full px-4 my-8 flex-1">

View File

@@ -1,5 +1,7 @@
{% extends 'members/index.html' %} {% extends 'members/index.html' %}
{% block title %}FET: {{ active_job_group.name }}{% endblock %}
{% block jobs_content %} {% block jobs_content %}
<div class="db-page-content"> <div class="db-page-content">
<h2>{{ active_job_group.name }}</h2> <h2>{{ active_job_group.name }}</h2>

View File

@@ -1,6 +1,8 @@
{% extends 'members/index.html' %} {% extends 'members/index.html' %}
{% load softhyphen_tags %} {% load softhyphen_tags %}
{% block title %}FET: {{ member.firstname }} {{ member.surname }}{% endblock %}
{% block extraheader %} {% block extraheader %}
<meta content="{{member.image.url}}" property="og:image"> <meta content="{{member.image.url}}" property="og:image">
<meta content="{{ member.firstname }}" property="og:profile:first_name"> <meta content="{{ member.firstname }}" property="og:profile:first_name">

View File

@@ -1,5 +1,7 @@
{% extends 'members/index.html' %} {% extends 'members/index.html' %}
{% block title %}FET: Fachschaft{% endblock %}
{% block members_content %} {% block members_content %}
{% if fs_info %} {% if fs_info %}
<div class="db-page-content"> <div class="db-page-content">

View File

@@ -2,6 +2,8 @@
{% load post_helpers %} {% load post_helpers %}
{% block title %}FET: News{% endblock %}
{% block content %} {% block content %}
<!-- Main Content --> <!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1"> <main class="container mx-auto w-full px-4 my-8 flex-1">

View File

@@ -3,6 +3,8 @@
{% load post_helpers %} {% load post_helpers %}
{% load admin_urls %} {% load admin_urls %}
{% block title %}FET: News{% endblock %}
{% block extraheader %} {% block extraheader %}
<meta content="{{ post.imageurl }}" property="og:image"> <meta content="{{ post.imageurl }}" property="og:image">
<meta content="{{ post.title }}" property="og:title"> <meta content="{{ post.title }}" property="og:title">

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}FET: News{% endblock %}
{% block content %} {% block content %}
<!-- Main Content --> <!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1"> <main class="container mx-auto w-full px-4 my-8 flex-1">