<!DOCTYPE html>
<html lang="de" dir="ltr" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>e-commerce</title>
</head>

<body>
<nav th:fragment="sidebar (categories)">
    <h1>Kategorien</h1>
    <ul class="secondary">
        <li th:each="category: ${categories}"><a th:href="@{/shop/search(category=${category.name})}" th:text="${category.name}"></a></li>
    </ul>
</nav>
</body>
</html>
