template.html 809 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  6. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  7. $for(css)$
  8. <link rel="stylesheet" href="$css$" />
  9. $endfor$
  10. $if(math)$
  11. $math$
  12. $endif$
  13. <script>$for(header-includes)$$header-includes$$endfor$</script>
  14. </head>
  15. <body>
  16. $for(include-before)$
  17. $include-before$
  18. $endfor$
  19. $if(title)$
  20. <header>
  21. <h1 class="title">$title$</h1>
  22. $if(subtitle)$
  23. <p class="subtitle">$subtitle$</p>
  24. $endif$
  25. $for(author)$
  26. <p class="author">$author$</p>
  27. $endfor$
  28. $if(date)$
  29. <p class="date">$date$</p>
  30. $endif$
  31. </header>
  32. $endif$
  33. $if(toc)$
  34. <nav id="$idprefix$TOC">
  35. $table-of-contents$
  36. </nav>
  37. $endif$
  38. $body$
  39. $for(include-after)$
  40. $include-after$
  41. $endfor$
  42. </body>
  43. </html>