sl-mainsite/wiki/html.template

80 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" 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$ - south london</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$
<link rel="stylesheet" href="/main.css" />
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body class="$if(color)$ $color$ $endif$">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header class="header header-wiki" id="title-block-header">
<h1 style="white-space: pre-line" class="title">$title$$if(subtitle)$<p style="font-size: 24px;" class="subtitle">$subtitle$</p>$endif$</h1>
</header>
$endif$
<main>
$if(toc)$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
<script>
function backAway(){
//if it was the first page
if(history.length === 1){
window.location = "http://southlondon.cc/"
} else {
history.back();
}
}
</script>
<hr class="zig">
<hr class="zag">
$if(author)$this article was lovingly written by $for(author)$$author$$endfor$$endif$
$if(date)$ and was last updated $date$<br>$endif$
<a href="#" onClick="backAway()">← go back</a>
<br>
<a href="/wiki">↜ back to wiki root</a>
<br>
<a href="/">↞ go to the homepage</a>
</main>
</body>
</html>