Remove duplicate title elements

The title element should only be set by the layout template.
This commit is contained in:
Simon Bruder 2023-11-15 20:17:54 +01:00
parent aaa8b38f6b
commit 0f4b174460
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
5 changed files with 1 additions and 6 deletions

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Kunden')}">
<head>
<title th:text="${title}"></title>
</head>
<body>
<div layout:fragment="content">

View file

@ -2,9 +2,8 @@
<html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Kunden bearbeiten')}">
layout:decorate="~{layout.html(title='Kunde bearbeiten')}">
<head>
<title>Kunde Bearbeiten</title>
</head>
<body>
<div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Personal bearbeiten')}">
<head>
<title>Personal Bearbeiten</title>
</head>
<body>
<div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Profil')}">
<head>
<title th:text="#{profile.title}" />
</head>
<body>
<div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Angestellte')}">
<head>
<title th:text="${title}"></title>
</head>
<body>
<div layout:fragment="content">