lang/data/template.html

49 lines
688 B
HTML
Raw Permalink Normal View History

2020-08-18 03:35:36 -04:00
<!DOCTYPE html>
2021-04-28 06:33:41 -04:00
<html$if(lang)$ lang=$lang$$endif$$if(dir)$ dir=$dir$$endif$>
2020-08-18 03:35:36 -04:00
<meta charset=utf-8>
2020-08-18 04:33:25 -04:00
<link rel=stylesheet href=/style/page.css>
2020-08-18 03:35:36 -04:00
$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>
2020-11-04 13:05:26 -05:00
<h1>$title$</h1>
2020-08-18 03:35:36 -04:00
</header>
$endif$
$if(toc)$
2020-11-04 13:05:26 -05:00
<nav id=toc>
2020-08-18 03:35:36 -04:00
<h2>Contents</h2>
$table-of-contents$
</nav>
$endif$
2020-08-18 04:33:25 -04:00
<main>
2020-08-18 03:35:36 -04:00
$body$
2020-08-18 04:33:25 -04:00
</main>
2020-08-18 03:35:36 -04:00
2020-11-04 13:05:26 -05:00
$if(hide-footer)$$else$
<footer>
$if(backlink)$
<a href=$backlink$>$backname$</a> ·
$endif$
<a href=/>All conlangs</a>
</footer>
$endif$
2020-08-18 03:35:36 -04:00
$for(include-after)$
$include-after$
$endfor$