lang/data/template.html
2020-11-04 19:05:26 +01:00

48 lines
671 B
HTML

<!DOCTYPE html>
<html lang=$lang$$if(dir)$ dir=$dir$$endif$>
<meta charset=utf-8>
<link rel=stylesheet href=/style/page.css>
$for(css)$
<link rel=stylesheet href=/style/$css$>
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
<title>$pagetitle$</title>
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header>
<h1>$title$</h1>
</header>
$endif$
$if(toc)$
<nav id=toc>
<h2>Contents</h2>
$table-of-contents$
</nav>
$endif$
<main>
$body$
</main>
$if(hide-footer)$$else$
<footer>
$if(backlink)$
<a href=$backlink$>$backname$</a> ·
$endif$
<a href=/>All conlangs</a>
</footer>
$endif$
$for(include-after)$
$include-after$
$endfor$