main.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. $for(header-includes)$
  38. $header-includes$
  39. $endfor$
  40. </head>
  41. <body>
  42. $for(include-before)$
  43. $include-before$
  44. $endfor$
  45. $if(title)$
  46. <header id="title-block-header">
  47. <h1 class="title">$title$</h1>
  48. $if(subtitle)$
  49. <p class="subtitle">$subtitle$</p>
  50. $endif$
  51. $for(author)$
  52. <p class="author">$author$</p>
  53. $endfor$
  54. $if(date)$
  55. <p class="date">$date$</p>
  56. $endif$
  57. </header>
  58. $endif$
  59. $if(toc)$
  60. <nav id="$idprefix$TOC">
  61. $table-of-contents$
  62. </nav>
  63. $endif$
  64. $body$
  65. $for(include-after)$
  66. $include-after$
  67. $endfor$
  68. </body>
  69. </html>