personalweb

Archived
git clone git://git.wimdupont.com/personalweb.git
Log | Files | Refs | README | LICENSE

commit 3ef26d6e15fcee3cfa9f6c03b4789b2b968872ec
parent f188753bf7bc5aeb0d61768043fd5dd433768277
Author: Wim Dupont <wim@wimdupont.com>
Date:   Sun, 13 Feb 2022 14:25:22 +0100

added favicon


Former-commit-id: a57b4e717a77efc9d99c527968425ab348afda53
Diffstat:
Msrc/main/resources/templates/article.html | 4+---
Msrc/main/resources/templates/blog.html | 4+---
Msrc/main/resources/templates/books.html | 3+--
Msrc/main/resources/templates/contact.html | 3+--
Msrc/main/resources/templates/error.html | 3+--
Asrc/main/resources/templates/header.html | 7+++++++
Msrc/main/resources/templates/home.html | 3+--
Msrc/main/resources/templates/links.html | 3+--
8 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/src/main/resources/templates/article.html b/src/main/resources/templates/article.html @@ -1,10 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title th:text="${title} + ' - Wim Dupont'"></title> - <link href="/css/main.css" rel="stylesheet"> - <link href="/css/adoc.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/blog.html b/src/main/resources/templates/blog.html @@ -1,10 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title>Blog - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> - <link href="/css/adoc.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/books.html b/src/main/resources/templates/books.html @@ -1,9 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title>Book Collection - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/contact.html b/src/main/resources/templates/contact.html @@ -1,9 +1,8 @@ <!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> - <meta charset="UTF-8"> <title>Contact - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html @@ -1,9 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title>Error - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/header.html b/src/main/resources/templates/header.html @@ -0,0 +1,7 @@ +<head th:fragment="head"> + <meta charset="UTF-8"> + <link href="/css/main.css" rel="stylesheet"> + <link href="/css/adoc.css" rel="stylesheet"> + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22> + <text y=%22.9em%22 font-size=%2290%22>&#x1F468;&#x200D;&#x1F4BB;</text></svg>"> +</head> diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html @@ -1,9 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title>Home - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> </head> <body> <div class="container wrapper"> diff --git a/src/main/resources/templates/links.html b/src/main/resources/templates/links.html @@ -1,9 +1,8 @@ <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head th:replace="header :: head"></head> <head> - <meta charset="UTF-8"> <title>Links - Wim Dupont</title> - <link href="/css/main.css" rel="stylesheet"> </head> <body> <div class="container wrapper">