<!doctype html>
<th:block
  xmlns:th="https://www.thymeleaf.org"
  th:replace="~{components/base-layout/template :: html(
    title = |#{page.categories.page-title} - ${site.title}|,
    head = ~{:: head},
    content = ~{:: body},
    header = ~{components/header/template :: body},
    navbar = ~{}
  )}"
>
  <head th:remove="tag">
    <meta
      name="description"
      th:attr="content=${#strings.isEmpty(theme.config?.categories_page_styles?.description) ? site?.seo?.description : theme.config?.categories_page_styles?.description}"
    />
    <link
      rel="canonical"
      th:if="${theme.config?.categories_page_styles?.is_enable_canonical_link}"
      th:href="${siteUrl} + @{{prefix}(prefix = ${site.routes.categoriesUri})}"
    />
    <th:block th:insert="~{components/header/template :: head}"></th:block>
    <script type="module" crossorigin src="/themes/howiehz-higan/assets/1.65.0Bk5FHpu.js" integrity="sha384-cg6x7Pb77Zqih642wbHELBIb8vuQ0VeuH0Zb6tWgHC6J1oxIpFMgVUPeGS0CiGHV"></script>
    <link rel="stylesheet" crossorigin href="/themes/howiehz-higan/assets/1.65.0Nu1u8yY.css" integrity="sha384-h6WHiBEsz55L9LeaTSvyYRiiYVLTekMvNJhG+VjwyKti556zI6k8M+nZTayAbuwQ">
  </head>
  <body th:remove="tag">
    <h1>
      <th:block th:text="#{page.categories.title}">标题替换位</th:block>
    </h1>
    <th:block th:insert="~{components/category-tree/template :: body(categories = ${categories})}"></th:block>
  </body>
</th:block>
