lang/data/template.html

49 lines
688 B
HTML

<!DOCTYPE html>
<html$if(lang)$ lang=$lang$$endif$$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$