summaryrefslogtreecommitdiff
path: root/html/template.html
blob: c25d8514d6c3e0c7c075dd01b567542d737b341f (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
<!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="zenburn.css" />
    <link rel="stylesheet" type="text/css" href="spec.css" />
    -->
    <link rel="stylesheet" type="text/css" href="theme.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">
      site generated by
      <a class="footer__link" href="https://pandoc.org">pandoc</a>,
      theme by
      <a class="footer__link" href="https://keybase.io/iko">ikomi</a>
    </footer>
  </body>
</html>