Working on fragments
Some checks failed
Build / build (push) Failing after 16s

This commit is contained in:
2025-06-07 08:47:53 +02:00
parent 8d86b56a34
commit 07765b8367
3 changed files with 27 additions and 11 deletions

View File

@@ -1,9 +1,5 @@
<html>
<head>
<meta charset="UTF-8">
<title>PC Inventory</title>
</head>
<body>
<h1>Hello, world!</h1>
</body>
</html>
<div th:replace="fragments :: base(title='Home', content=~{::content})">
<div th:fragment="content">
<p>This system holds <span th:text="${asset_count}">5</span> assets.</p>
</div>
</div>