git.ntnlv.ca
Repositories
Help
Report an Issue
processeur-decriture.git
Code
Commits
Branches
Tags
Search
Tree:
5c0e3bb
Branches
Tags
dev
main
processeur-decriture.git
templates
layouts
chunked.html
update templates
David Valentine
commited
5c0e3bb
at 2024-12-07 19:54:09
chunked.html
Blame
History
Raw
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$> <head> $-- head ${../components/head.html()} $-- Basic JSON-LD $-- opengraph = false car pas de diffusion ${if(header-includes)} $for(header-includes)$ $header-includes$ $endfor$ ${endif} </head> <body> $-- top-of-the-page includes $-------------------------------------------------------------------- $for(include-before)$ $include-before$ $endfor$ <header> <!-- Top navigation (sitenav) --> ${../components/site-nav.html()} $if(top)$ $-- si top est true, cela signifie que je veux la navigation supérieure $-- donc pas top au sens de couverture, mais au sens de en-haut $-- only print title block if this is NOT the top page $else$ <!-- Top navigation (sitenav) --> $--${../components/metadata.html()} <h1 class="title">$title$</h1> <blockquote class="metadata"> $if(subtitle)$ <p class="subtitle">$subtitle$</p> $endif$ $if(author)$ <p class="author"> $if(author.url)$ <a href="$author.url$">${author.full}</a> $else$ $author$ $endif$ </p> $endif$ $if(date)$ <p class="date $if(toc)$before-toc$endif$"><time datetime="$date$">$date$</time></p> $endif$ $if(abstract)$ <div class="abstract-title">$abstract-title$</div> <p> $abstract$ </p> $endif$ </blockquote> $endif$ </header> $if(toc)$ <main id="main-toc"> <h2>${toc-title}</h2> $table-of-contents$ </main> $endif$ ${if(top)} <!-- TOC for chapters --> ${../components/toc-nav.html()} <nav id="$idprefix$TOC" role="doc-toc"> $if(return-url)$ <a href="$return-url$">$if(return-text)$$return-text$$else$← Return$endif$</a><br> $endif$ <strong>$if(toc-title)$$toc-title$$else$Contents$endif$</strong><label for="contents">⊕</label> <input type="checkbox" id="contents"> $table-of-contents$ </nav> ${endif} <main> $body$ </main> $if(return-url)$ <footer> <p class="signoff"> <a href="$return-url$">$if(return-text)$$return-text$$else$← Return$endif$</a> </p> </footer> $endif$ <script> ;(function() { // Non-essential if user has JavaScript off. Just makes checkboxes look nicer. var selector = '.task-list > li > input[type="checkbox"]'; var checkboxes = document.querySelectorAll(selector); Array.from(checkboxes).forEach((checkbox) => { var wasChecked = checkbox.checked; checkbox.disabled = false; checkbox.addEventListener('click', (ev) => {ev.target.checked = wasChecked}); }); })(); </script> $for(include-after)$ $include-after$ $endfor$ </body> </html>