summaryrefslogtreecommitdiff
path: root/html/template.html
blob: e7eb1f03bc8386a08697588d3a1b90e6c08652ba (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html class="default">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>$title$</title>
    <link rel="stylesheet" type="text/css" href="light.css" />
  </head>
  <body class="body">
    <header class="header">
      <h1 class="header-title">
        <a class="header-title__link" href="/">ForgeFed</a>
      </h1>
      <nav class="nav">
        <a class="nav__link"
           href="forgefed.html">🗲 behavior</a>
        <a class="nav__link"
           href="forgefed-vocabulary.html">📓 vocabulary</a>
        <a class="nav__link"
           href="https://notabug.org/peers/forgefed/issues">🐞 issues</a>
        <a class="nav__link"
           href="https://talk.feneas.org/c/forgefed">🗪 forum</a>
      </nav>
    </header>
    <main class="main">
      $if(toc)$
        <h1 class="main-title">
            $title$ - draft - $date$ $gitbranch$
            <a href="https://notabug.org/peers/forgefed/commit/$gitcommitid$">
                $gitcommitidshort$
            </a>
            $if(gitdirty)$
                [dirty]
            $endif$
        </h1>
      $else$
        <h1 class="main-title">$title$</h1>
      $endif$

      $if(toc)$
        <nav class="toc">
            <header class="toc-title">Table of Contents</header>
            $toc$
        </nav>
      $endif$

      $body$
    </main>
    <footer class="footer">
      <p xmlns:dct="http://purl.org/dc/terms/">
        <a rel="license"
           href="http://creativecommons.org/publicdomain/zero/1.0/">
          <img src="https://licensebuttons.net/p/zero/1.0/88x31.png"
               style="border-style: none;"
               alt="CC0" />
        </a>
        <br />
        <a rel="dct:publisher" href="https://peers.community">
          <span property="dct:title">The ForgeFed team</span>
        </a>
        has dedicated all copyright and related and neighboring
        rights to
        <span property="dct:title">ForgeFed</span> to the public domain
        worldwide.
      </p>
      <p>❤ Copying is an act of love. Please copy, reuse and share!</p>
      <p>
        Site generated by
        <a class="footer__link" href="https://pandoc.org">pandoc</a>.
      </p>
    </footer>
  </body>
</html>