template.include 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <div class="page">
  38. $for(include-before)$
  39. $include-before$
  40. $endfor$
  41. $if(title)$
  42. <header>
  43. <div class="title">
  44. <h1 class="title">$title$</h1>
  45. </div>
  46. $if(subtitle)$
  47. <p class="subtitle">$subtitle$</p>
  48. $endif$
  49. $for(author)$
  50. <p class="author">$author$</p>
  51. $endfor$
  52. $if(date)$
  53. <p class="date">$date$</p>
  54. $endif$
  55. <ul>
  56. <li><a href="/">Home</a></li>
  57. <li><a href="/faq.html">FAQ</a></li>
  58. <li><a href="/download.html">Download</a></li>
  59. <li><a href="/news/">News</a></li>
  60. <li><a href="/tasks/">TODO</a></li>
  61. <li><a href="/git.html">Send patches</a></li>
  62. <li><strong><a href="/contact.html">Contact</a></strong></li>
  63. <li><strong><a href="/donate.html">Donate</a></strong></li>
  64. <li><strong><a href="/suppliers.html">Buy preinstalled</a></strong></li>
  65. </ul>
  66. <hr/>
  67. </header>
  68. $endif$
  69. $if(return)$
  70. $return$
  71. $endif$
  72. $if(toc)$
  73. <nav id="$idprefix$TOC">
  74. <h1>Navigate this page:</h1>
  75. $toc$
  76. </nav>
  77. $endif$
  78. $if(toc)$
  79. <div class="pagetext">
  80. $endif$
  81. $body$
  82. $for(include-after)$
  83. $include-after$
  84. $endfor$
  85. $if(toc)$
  86. </div>
  87. $endif$
  88. </div>
  89. </body>
  90. </html>