template.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  36. </head>
  37. <body>
  38. $for(include-before)$
  39. $include-before$
  40. $endfor$
  41. $if(title)$
  42. <header>
  43. <h1 class="title">$title$</h1>
  44. $if(subtitle)$
  45. <p class="subtitle">$subtitle$</p>
  46. $endif$
  47. $for(author)$
  48. <p class="author">$author$</p>
  49. $endfor$
  50. $if(date)$
  51. <p class="date">$date$</p>
  52. $endif$
  53. </header>
  54. $endif$
  55. $if(return)$
  56. $return$
  57. $endif$
  58. $if(toc)$
  59. <nav id="$idprefix$TOC">
  60. $toc$
  61. </nav>
  62. $endif$
  63. $body$
  64. $for(include-after)$
  65. $include-after$
  66. $endfor$
  67. </body>
  68. </html>