improve template

This commit is contained in:
Rhiannon Morris 2020-11-04 19:05:26 +01:00
parent d61d7c791f
commit fc8addf075
1 changed files with 11 additions and 5 deletions

View File

@ -19,15 +19,12 @@ $endfor$
$if(title)$ $if(title)$
<header> <header>
<h1 class="title">$title$</h1> <h1>$title$</h1>
$if(subtitle)$
<h2 class="subtitle">$subtitle$</h2>
$endif$
</header> </header>
$endif$ $endif$
$if(toc)$ $if(toc)$
<nav id="$idprefix$TOC"> <nav id=toc>
<h2>Contents</h2> <h2>Contents</h2>
$table-of-contents$ $table-of-contents$
</nav> </nav>
@ -37,6 +34,15 @@ $endif$
$body$ $body$
</main> </main>
$if(hide-footer)$$else$
<footer>
$if(backlink)$
<a href=$backlink$>$backname$</a> ·
$endif$
<a href=/>All conlangs</a>
</footer>
$endif$
$for(include-after)$ $for(include-after)$
$include-after$ $include-after$
$endfor$ $endfor$