summaryrefslogtreecommitdiff
path: root/bin/_template.html
blob: f35432eecd9b55e75e13975be6b7bb0916e92ee9 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
$for(author-meta)$
  <meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
  <meta name="dcterms.date" content="$date-meta$" />
$endif$
$if(keywords)$
  <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
  <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  <style type="text/css">
      code{white-space: pre-wrap;}
      span.smallcaps{font-variant: small-caps;}
      span.underline{text-decoration: underline;}
      div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
      q { quotes: "“" "”" "‘" "’"; }
$endif$
  </style>
$if(highlighting-css)$
  <style type="text/css">
$highlighting-css$
  </style>
$endif$
$for(css)$
  <link rel="stylesheet" href="$css$" />
$endfor$
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
$if(math)$
  $math$
$endif$
  <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
$for(header-includes)$
  $header-includes$
$endfor$
</head>
<body>
<div class="container my-5">

$if(title)$
<header id="title-block-header">
<a href="$rel-root$" title="Home">
  <img src="$rel-root$/doc/Logos/gf1.svg" height="200px" class="float-md-right mb-3 bg-white" alt="GF Logo">
</a>
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
</header>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
$endif$
$body$
</div><!-- .container -->

<footer class="bg-light mt-5 py-5">
  <div class="container">
    <div class="row">
      <div class="col-3">
        <a href="$rel-root$">
          <i class="fas fa-home"></i>
          Home
        </a>
        <h6 class="text-muted mt-3">Use</h6>
        <ul class="list-unstyled">
          <li><a href="$rel-root$/demos">Demos</a></li>
          <li><a href="$rel-root$/download">Download GF</a></li>
        </ul>
      </div>
      <div class="col-3">
        <h6 class="text-muted">Documentation</h6>
        <ul class="list-unstyled">
          <li><a href="$rel-root$/doc/gf-shell-reference.html">GF Shell Reference</a></li>
          <li><a href="$rel-root$/lib/doc/synopsis.html">RGL Library Synopsis</a></li>
          <li><a href="$rel-root$/gf-book">The GF Book</a></li>
          <li><a href="$rel-root$/doc/gf-refman.html">Reference Manual</a></li>
          <li><a href="$rel-root$/doc/tutorial/gf-tutorial.html">Tutorial</a></li>
        </ul>
      </div>
      <div class="col-3">
        <h6 class="text-muted">Reference</h6>
        <ul class="list-unstyled">
          <li><a href="http://hackage.haskell.org/package/gf/docs/PGF.html">PGF library API (Haskell runtime)</a></li>
          <li><a href="$rel-root$/doc/runtime-api.html">PGF library API (C runtime)</a></li>
          <li><a href="http://hackage.haskell.org/package/gf/docs/GF.html">GF compiler API</a></li>
        </ul>
      </div>
      <div class="col-3">
        <h6 class="text-muted">
          Repositories
          <i class="fab fa-github"></i>
        </h6>
        <ul class="list-unstyled">
          <li><a href="https://github.com/GrammaticalFramework/gf-core">GF Core</a></li>
          <li><a href="https://github.com/GrammaticalFramework/gf-rgl">RGL</a></li>
          <li><a href="https://github.com/GrammaticalFramework/gf-contrib">Contrib</a></li>
        </ul>
      </div>
    <div>
  <div>
</footer>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7811807-3");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>