pandoc-template.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Content-Style-Type" content="text/css" />
  6. <meta name="generator" content="pandoc" />
  7. $for(author-meta)$
  8. <meta name="author" content="$author-meta$" />
  9. $endfor$
  10. $if(date-meta)$
  11. <meta name="date" content="$date-meta$" />
  12. $endif$
  13. <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
  14. <style type="text/css">code{white-space: pre;}</style>
  15. $if(quotes)$
  16. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  17. $endif$
  18. $if(highlighting-css)$
  19. <style type="text/css">
  20. $highlighting-css$
  21. </style>
  22. $endif$
  23. $for(css)$
  24. <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
  25. $endfor$
  26. $if(math)$
  27. $math$
  28. $endif$
  29. $for(header-includes)$
  30. $header-includes$
  31. $endfor$
  32. </head>
  33. <body>
  34. $for(include-before)$
  35. $include-before$
  36. $endfor$
  37. $if(title)$
  38. <div id="$idprefix$header">
  39. <h1 class="title">$title$</h1>
  40. $if(subtitle)$
  41. <h1 class="subtitle">$subtitle$</h1>
  42. $endif$
  43. $for(author)$
  44. <h2 class="author">$author$</h2>
  45. $endfor$
  46. $if(date)$
  47. <h3 class="date">$date$</h3>
  48. $endif$
  49. </div>
  50. $endif$
  51. <blockquote>
  52. <p>“A beginning is the time for taking the most delicate care that the balances are correct.”</p>
  53. <p>
  54. – Frank Herbert, <em>Dune</em>
  55. </p>
  56. </blockquote>
  57. $if(toc)$
  58. <div id="$idprefix$TOC">
  59. $toc$
  60. </div>
  61. $endif$
  62. $body$
  63. $for(include-after)$
  64. $include-after$
  65. $endfor$
  66. </body>
  67. </html>