template.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. $if(quotes)$
  18. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  19. $endif$
  20. $if(highlighting-css)$
  21. <style type="text/css">
  22. $highlighting-css$
  23. </style>
  24. $endif$
  25. $for(css)$
  26. <link rel="stylesheet" href="$css$">
  27. $endfor$
  28. $if(math)$
  29. $math$
  30. $endif$
  31. $for(header-includes)$
  32. $header-includes$
  33. $endfor$
  34. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  35. </head>
  36. <body>
  37. $for(include-before)$
  38. $include-before$
  39. $endfor$
  40. $if(title)$
  41. <header>
  42. <h1 class="title">$title$</h1>
  43. $if(subtitle)$
  44. <p class="subtitle">$subtitle$</p>
  45. $endif$
  46. $for(author)$
  47. <p class="author">$author$</p>
  48. $endfor$
  49. $if(date)$
  50. <p class="date">$date$</p>
  51. $endif$
  52. </header>
  53. $endif$
  54. $if(return)$
  55. $return$
  56. $endif$
  57. $if(toc)$
  58. <nav id="$idprefix$TOC">
  59. $toc$
  60. </nav>
  61. $endif$
  62. $body$
  63. $for(include-after)$
  64. $include-after$
  65. $endfor$
  66. </body>
  67. </html>