commit 595e43d7bdd8e95ee5323874a16055e478cf6967
parent 439169b2e48c486952f813726f1b113e7ff0853f
Author: Wim Dupont <wim@wimdupont.com>
Date: Thu, 5 Jan 2023 17:20:18 +0100
version bump and resolve thymeleaf deprecations
Former-commit-id: 4ba3ac489e3f89b6ef6dd1066a116cc36f59e278
Diffstat:
9 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/pom.xml b/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>3.0.0</version>
+ <version>3.0.1</version>
</parent>
<groupId>com.wimdupont</groupId>
<artifactId>personalweb</artifactId>
diff --git a/src/main/resources/templates/article.html b/src/main/resources/templates/article.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title th:text="${title} + ' - Wim Dupont'"></title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1 th:utext="${title}"/>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<div th:if="${article != null}">
<div class="adoc" th:utext="${article}"/>
diff --git a/src/main/resources/templates/blog.html b/src/main/resources/templates/blog.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Blog - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Blog</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<tr th:each="article : ${articles}">
<p><a th:href="@{/blog/article/{article}(article=${article.name})}">[[${article.name}]]</a> - [[${article.date}]]</p>
diff --git a/src/main/resources/templates/books.html b/src/main/resources/templates/books.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Book Collection - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Books</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<p class="subheader">This is the collection of books of which I own a physical copy</p>
diff --git a/src/main/resources/templates/contact.html b/src/main/resources/templates/contact.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Contact - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Contact</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<p>I do not use any social media websites, nor do I have accounts on any of those platforms (such as Facebook,
LinkedIn, Twitter,...).
diff --git a/src/main/resources/templates/donate.html b/src/main/resources/templates/donate.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Donate - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Donate</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<div class="center">
<h2 class="subheader">Monero (XMR)</h2>
diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Error - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Error</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<table>
<tr>
diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Home - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1 class="home-title">Home</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<div th:if="${affirmation != null}">
<p class="subheader" th:text="${affirmation.affirmation}"/>
diff --git a/src/main/resources/templates/links.html b/src/main/resources/templates/links.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
-<head th:replace="header :: head"></head>
+<head th:replace="~{header :: head}"></head>
<head>
<title>Links - Wim Dupont</title>
</head>
@@ -8,7 +8,7 @@
<div class="container wrapper">
<header>
<h1>Links</h1>
- <div th:insert="navigation"/>
+ <div th:insert="~{navigation}"/>
</header>
<p class="subheader">Links to websites on various topics</p>
<h3>Privacy</h3>