summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/base.html
blob: 0d4408c37d135f44dea008a1ecf682043f375b0d (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
37
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

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

  <link rel="stylesheet" type="text/css" href="/cms2/base.css" />
  <script type="importmap" src="/web_modules/import-map.json"></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/Home">Wiki</a></li>
      <li class="{#insert aboutClass}{/}" data-site-section="About"><a href="/about">Contact Info</a></li>
    </ol>
  </nav>

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

  <footer>
    <a href="/about">Contact Information</a>
  </footer>
</body>
</html>