template.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="generator" content="pandoc">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  7. $for(author-meta)$
  8. <meta name="author" content="$author-meta$">
  9. $endfor$
  10. $if(date-meta)$
  11. <meta name="dcterms.date" content="$date-meta$">
  12. $endif$
  13. $if(keywords)$
  14. <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
  15. $endif$
  16. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  17. <style type="text/css">code{white-space: pre;}</style>
  18. $if(quotes)$
  19. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  20. $endif$
  21. $if(highlighting-css)$
  22. <style type="text/css">
  23. $highlighting-css$
  24. </style>
  25. $endif$
  26. $for(css)$
  27. <link rel="stylesheet" href="$css$">
  28. $endfor$
  29. $if(math)$
  30. $math$
  31. $endif$
  32. $for(header-includes)$
  33. $header-includes$
  34. $endfor$
  35. </head>
  36. <body>
  37. $for(include-before)$
  38. $include-before$
  39. $endfor$
  40. $if(title)$
  41. <header>
  42. <h1 class="title">$title$</h1>
  43. $if(subtitle)$
  44. <p class="subtitle">$subtitle$</p>
  45. $endif$
  46. $for(author)$
  47. <p class="author">$author$</p>
  48. $endfor$
  49. $if(date)$
  50. <p class="date">$date$</p>
  51. $endif$
  52. </header>
  53. $endif$
  54. $if(return)$
  55. $return$
  56. $endif$
  57. $if(toc)$
  58. <nav id="$idprefix$TOC">
  59. $toc$
  60. </nav>
  61. $endif$
  62. $body$
  63. $for(include-after)$
  64. $include-after$
  65. $endfor$
  66. </body>
  67. </html>