Updated wiki.tmpl to let some bugs out

1. Moved the footer to before </body>
2. Wrapped <div class="content"></div> around the actual contents of <body> (excluding the navbar and footer, just like the main tilde.club page).
3. Added a missing </div> for <div class="col">
4. Removed a couple newlines after the </html> tag.
This commit is contained in:
login000 2020-05-07 14:26:14 +10:00 committed by GitHub
parent 10516a8223
commit 2b05b8592c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 38 deletions

View File

@ -46,56 +46,56 @@ $highlighting-css$
$for(include-before)$ $for(include-before)$
$include-before$ $include-before$
$endfor$ $endfor$
$if(title)$ <div class="content">
<header> $if(title)$
<h1 class="title">$$ $title$</h1> <header>
<h1 class="title">$$ $title$</h1>
$if(subtitle)$ $if(subtitle)$
<p class="subtitle">$subtitle$</p> <p class="subtitle">$subtitle$</p>
$endif$ $endif$
$if(author)$ $if(author)$
<p>authors:</p> <p>authors:</p>
$for(author)$ $for(author)$
<p class="author"><a href="/~$author$/">~$author$</a></p> <p class="author"><a href="/~$author$/">~$author$</a></p>
$endfor$ $endfor$
$endif$ $endif$
$if(date)$ $if(date)$
<p class="date">$date$</p> <p class="date">$date$</p>
$endif$
</header>
$endif$ $endif$
</header> <br>
$endif$ <div class="grid">
<br> <div class="row">
<div class="grid">
<div class="row"> <div class="col">
<div class="col"> $if(toc)$
$if(toc-title)$
$if(toc)$ <h2>$toc-title$</h2>
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
<hr>
$endif$ $endif$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
<hr>
$endif$
<!-- unindent body so that code blocks don't have extra indents. See <!-- unindent body so that code blocks don't have extra indents. See
https://stackoverflow.com/questions/42773587/code-block-formatting-issues-with-bootstrap-and-pandoc --> https://stackoverflow.com/questions/42773587/code-block-formatting-issues-with-bootstrap-and-pandoc -->
$body$ $body$
$for(include-after)$ $for(include-after)$
$include-after$ $include-after$
$endfor$ $endfor$
</div>
</div>
</div> </div>
</div> </div>
<br>
<footer class="text-center"> <footer class="text-center">
<p>ECDSA fingerprint: SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE</p> <p>ECDSA fingerprint: SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE</p>
<a href="https://github.com/tildeclub/site">page source</a> <a href="https://github.com/tildeclub/site">page source</a>
</footer> </footer>
</body>
</body>
</html> </html>