swt23w23/src/main/resources/templates/layout.html

31 lines
1.1 KiB
HTML

<!DOCTYPE html>
<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">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" th:href="@{/webjars/bootstrap/css/bootstrap.min.css}">
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
<title th:text="${#strings.concat((#strings.isEmpty(title) ? '' : title + ' | ') + 'Catering Mampf')}"></title>
</head>
<body>
<nav th:replace="~{navigation :: navigation}"></nav>
<main class="container py-4">
<h1 class="mb-4" th:text="${#strings.isEmpty(title)} ? 'Willkommen bei Catering Mampf' : ${title}"></h1>
<div layout:fragment="content"></div>
</main>
<div class="container">
<footer class="border-top my-4 py-4">
<p class="text-center">Cateringservice Mampf</p>
<p class="text-center">
<a href="mailto:catering@salespointframework.org">catering@salespointframework.org</a>
</p>
</footer>
</div>
<script th:src="@{/webjars/bootstrap/js/bootstrap.bundle.min.js}"></script>
</body>
</html>