template.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <!--[if lt IE 9]>
  33. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  34. <![endif]-->
  35. $for(header-includes)$
  36. $header-includes$
  37. $endfor$
  38. </head>
  39. <body>
  40. $for(include-before)$
  41. $include-before$
  42. $endfor$
  43. $if(title)$
  44. <header>
  45. <h1 class="title">$title$</h1>
  46. $if(subtitle)$
  47. <p class="subtitle">$subtitle$</p>
  48. $endif$
  49. $for(author)$
  50. <p class="author">$author$</p>
  51. $endfor$
  52. $if(date)$
  53. <p class="date">$date$</p>
  54. $endif$
  55. </header>
  56. $endif$
  57. $if(return)$
  58. $return$
  59. $endif$
  60. $if(toc)$
  61. <nav id="$idprefix$TOC">
  62. $toc$
  63. </nav>
  64. $endif$
  65. $body$
  66. $for(include-after)$
  67. $include-after$
  68. $endfor$
  69. </body>
  70. </html>