template.include 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. .f{position:fixed;top:-999%;left:50%;max-height:99%;max-width:99%;transform:translate(-50%,-50%)}*:focus+*{top:50%}
  39. img{cursor:pointer}
  40. $for(include-before)$
  41. $include-before$
  42. $endfor$
  43. $if(title)$
  44. <header>
  45. <div class="title">
  46. <h1 class="title">$title$</h1>
  47. </div>
  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. <ul>
  58. <li><a href="/">Home</a></li>
  59. <li><a href="/faq.html">FAQ</a></li>
  60. <li><a href="/download.html">Download</a></li>
  61. <li><a href="/news/">News</a></li>
  62. <li><a href="/tasks/">TODO</a></li>
  63. <li><a href="/git.html">Send patches</a></li>
  64. <li><strong><a href="/contact.html">Contact</a></strong></li>
  65. <li><strong><a href="/donate.html">Donate</a></strong></li>
  66. <li><strong><a href="/suppliers.html">Buy preinstalled</a></strong></li>
  67. </ul>
  68. <hr/>
  69. </header>
  70. $endif$
  71. $if(return)$
  72. $return$
  73. $endif$
  74. $if(toc)$
  75. <nav id="$idprefix$TOC">
  76. <h1>Navigate this page:</h1>
  77. $toc$
  78. </nav>
  79. $endif$
  80. $if(toc)$
  81. <div class="pagetext">
  82. $endif$
  83. $body$
  84. $for(include-after)$
  85. $include-after$
  86. $endfor$
  87. $if(toc)$
  88. </div>
  89. $endif$
  90. </div>
  91. </body>
  92. </html>