improve template
This commit is contained in:
parent
d61d7c791f
commit
fc8addf075
1 changed files with 11 additions and 5 deletions
|
@ -19,15 +19,12 @@ $endfor$
|
|||
|
||||
$if(title)$
|
||||
<header>
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<h2 class="subtitle">$subtitle$</h2>
|
||||
$endif$
|
||||
<h1>$title$</h1>
|
||||
</header>
|
||||
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<nav id="$idprefix$TOC">
|
||||
<nav id=toc>
|
||||
<h2>Contents</h2>
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
|
@ -37,6 +34,15 @@ $endif$
|
|||
$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$
|
||||
|
|
Loading…
Reference in a new issue