template.include 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. <!-- anti-social media tags -->
  8. $if(title-prefix)$
  9. <meta property="og:title" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  10. <meta property="og:type" content="article" />
  11. <meta property="og:image" content="https://av.vimuser.org/osboot.jpg">
  12. <meta property="og:url" content="$antisocialurl$">
  13. <meta name="twitter:card" content="summary_large_image">
  14. <meta property="og:description" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  15. <meta property="og:site_name" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  16. <meta name="twitter:image:alt" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  17. $endif$
  18. $for(author-meta)$
  19. <meta name="author" content="$author-meta$">
  20. $endfor$
  21. $if(date-meta)$
  22. <meta name="dcterms.date" content="$date-meta$">
  23. $endif$
  24. $if(keywords)$
  25. <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
  26. $endif$
  27. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  28. <style type="text/css">
  29. :not(p)
  30. {
  31. max-width: 60em;
  32. margin: 0 auto;
  33. }
  34. html
  35. {
  36. background: #280b22;
  37. color: #eee;
  38. font-family: sans-serif;
  39. line-height: 1.4;
  40. text-shadow: 1px 1px #000;
  41. }
  42. code,pre, #TOC, a:hover
  43. {
  44. background: #4e324e;
  45. }
  46. a
  47. {
  48. color: #fcc;
  49. }
  50. img,video,iframe,pre
  51. {
  52. max-width: 100%;
  53. overflow: auto;
  54. }
  55. .title>*, header ul>li, .nav ul>li,
  56. #footer ul>li, .h:hover>*
  57. {
  58. display: inline;
  59. margin: 0.7%;
  60. text-align :center;
  61. }
  62. .title>*, span.date
  63. {
  64. display: block;
  65. }
  66. html, ul, #TOC
  67. {
  68. padding: 1em;
  69. }
  70. .date, .author, .h a
  71. {
  72. display: none;
  73. }
  74. @media (min-width:60em)
  75. {
  76. #TOC
  77. {
  78. float: left;
  79. margin: 1em;
  80. min-width: 25%;
  81. }
  82. }
  83. .f, .f *
  84. {
  85. position: fixed;
  86. max-width: 100%;
  87. max-height: 100%;
  88. top: 50%;
  89. left: 50%;
  90. }
  91. .f *
  92. {
  93. transform: translate(-50%, -50%);
  94. }
  95. .f
  96. {
  97. display: none;
  98. top: 0;
  99. left: 0;
  100. width: 100%;
  101. height: 100%;
  102. background: rgba(0, 0, 0, 0.8);
  103. }
  104. *:focus + .f
  105. {
  106. display: block;
  107. }
  108. img
  109. {
  110. cursor: pointer;
  111. }
  112. </style>
  113. $if(quotes)$
  114. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  115. $endif$
  116. $if(highlighting-css)$
  117. <style type="text/css">
  118. $highlighting-css$
  119. </style>
  120. $endif$
  121. $for(css)$
  122. <link rel="stylesheet" href="$css$">
  123. $endfor$
  124. $if(math)$
  125. $math$
  126. $endif$
  127. $for(header-includes)$
  128. $header-includes$
  129. $endfor$
  130. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  131. </head>
  132. <body>
  133. <div class="page">
  134. $for(include-before)$
  135. $include-before$
  136. $endfor$
  137. $if(title)$
  138. <header>
  139. <div class="title">
  140. <p class="title-logo">
  141. <img class="title-logo" alt="osboot logo" src="/favicon.ico" />
  142. </p>
  143. <h1 class="title">$title$</h1>
  144. </div>
  145. $if(subtitle)$
  146. <p class="subtitle">$subtitle$</p>
  147. $endif$
  148. $for(author)$
  149. <p class="author">$author$</p>
  150. $endfor$
  151. $if(date)$
  152. <p class="date">$date$</p>
  153. $endif$
  154. <ul>
  155. <li><a href="/">Home</a></li>
  156. <li><a href="/faq.html">FAQ</a></li>
  157. <li><a href="/download.html">Download</a></li>
  158. <li><a href="/docs/install/">Install</a></li>
  159. <li><a href="/docs/">Docs</a></li>
  160. <li><a href="/news/">News</a></li>
  161. <li><a href="https://notabug.org/osboot/osbmk/issues">Bugs</a></li>
  162. <li><a href="/git.html">Send patch</a></li>
  163. <li><strong><a href="https://www.patreon.com/libreleah">Donate</a></strong></li>
  164. <li><a href="/contact.html">Contact</a></li>
  165. <li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
  166. </ul>
  167. <hr/>
  168. </header>
  169. $endif$
  170. $if(return)$
  171. $return$
  172. $endif$
  173. $if(toc)$
  174. <nav id="$idprefix$TOC">
  175. <h1>Navigate this page:</h1>
  176. $toc$
  177. </nav>
  178. $endif$
  179. $if(toc)$
  180. <div class="pagetext">
  181. $endif$
  182. $body$
  183. $for(include-after)$
  184. $include-after$
  185. $endfor$
  186. $if(toc)$
  187. </div>
  188. $endif$
  189. </div>
  190. </body>
  191. </html>