summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/base.html
blob: b64f5fb3aaf07d5eedad71e27176db5749da6797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">

  <title>{#insert title}{/}</title>

  <link rel="stylesheet" type="text/css" href="/cms2/base.css" />
  <script type="importmap" src="/web_modules/import-map.json"></script>
  <script type="module" src="/cms2/components.js"></script>

  {#insert head}{/}
</head>

<body>
  <header>
    <h1><a href="/">Benki</a> → {#insert siteSection}{/}</h1>
  </header>

  <nav>
    <ol>
      <li class="{#insert bookmarksClass}{/}" data-site-section="Book Marx"><a href="/bookmarks">Bookmarks</a></li>
      <li class="{#insert lazychatClass}{/}" data-site-section="Lafargue"><a href="/lazychat">Lazy Chat</a></li>
      <li class="{#insert wikiClass}{/}" data-site-section="Wiki"><a href="/wiki">Wiki</a></li>
    </ol>
  </nav>

  <main>
    {#insert body}{/}
  </main>

  <footer>
    <a href="/imprint">Imprint</a>
  </footer>
</body>
</html>