main.template 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$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">
  18. code{white-space: pre-wrap;}
  19. span.smallcaps{font-variant: small-caps;}
  20. span.underline{text-decoration: underline;}
  21. div.column{display: inline-block; vertical-align: top; width: 50%;}
  22. $if(quotes)$
  23. q { quotes: "“" "”" "‘" "’"; }
  24. $endif$
  25. </style>
  26. $if(highlighting-css)$
  27. <style type="text/css">
  28. $highlighting-css$
  29. </style>
  30. $endif$
  31. $for(css)$
  32. <link rel="stylesheet" href="$css$">
  33. $endfor$
  34. $if(math)$
  35. $math$
  36. $endif$
  37. <!--[if lt IE 9]>
  38. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  39. <![endif]-->
  40. $for(header-includes)$
  41. $header-includes$
  42. $endfor$
  43. </head>
  44. <body>
  45. $for(include-before)$
  46. $include-before$
  47. $endfor$
  48. $if(title)$
  49. <header>
  50. <h1 class="title">$title$</h1>
  51. $if(subtitle)$
  52. <p class="subtitle">$subtitle$</p>
  53. $endif$
  54. $for(author)$
  55. <p class="author">$author$</p>
  56. $endfor$
  57. $if(date)$
  58. <p class="date">$date$</p>
  59. $endif$
  60. </header>
  61. $endif$
  62. $if(toc)$
  63. <nav id="$idprefix$TOC">
  64. $table-of-contents$
  65. </nav>
  66. $endif$
  67. $body$
  68. $for(include-after)$
  69. $include-after$
  70. $endfor$
  71. </body>
  72. </html>