first
This commit is contained in:
commit
2872dca785
4 changed files with 77 additions and 0 deletions
39
data/template.html
Normal file
39
data/template.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang=$lang$$if(dir)$ dir=$dir$$endif$>
|
||||
<meta charset=utf-8>
|
||||
|
||||
$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 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<h2 class="subtitle">$subtitle$</h2>
|
||||
$endif$
|
||||
</header>
|
||||
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<nav id="$idprefix$TOC">
|
||||
<h2>Contents</h2>
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
$endif$
|
||||
|
||||
$body$
|
||||
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
Loading…
Add table
Add a link
Reference in a new issue