template.include 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. html{
  30. background:#170217;
  31. color:#eee;
  32. }
  33. .date,.author,.h a{display:none}
  34. code,pre,#TOC,a:hover{background:#4e324e}
  35. :not(p),a:hover {
  36. max-width:60em;
  37. margin:0 auto;
  38. font-family:sans-serif;
  39. line-height:1.4;
  40. text-shadow: 1px 1px #000
  41. }
  42. a{color:#fcc}
  43. .title>*, header ul>li, .nav ul>li,
  44. #footer ul>li, .h:hover>*
  45. ul>li
  46. {
  47. display:inline;
  48. margin:.7%;
  49. text-align:center;
  50. }
  51. .title>*,span.date{display:block}
  52. img,video,iframe{max-width:100%}
  53. #TOC{
  54. float:left;
  55. margin:1em;
  56. min-width:25%
  57. }
  58. html,ul,#TOC{padding:1em}
  59. </style>
  60. $if(quotes)$
  61. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  62. $endif$
  63. $if(highlighting-css)$
  64. <style type="text/css">
  65. $highlighting-css$
  66. </style>
  67. $endif$
  68. $for(css)$
  69. <link rel="stylesheet" href="$css$">
  70. $endfor$
  71. $if(math)$
  72. $math$
  73. $endif$
  74. $for(header-includes)$
  75. $header-includes$
  76. $endfor$
  77. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  78. </head>
  79. <body>
  80. <div class="page">
  81. $for(include-before)$
  82. $include-before$
  83. $endfor$
  84. $if(title)$
  85. <header>
  86. <div class="title">
  87. <h1 class="title">$title$</h1>
  88. </div>
  89. $if(subtitle)$
  90. <p class="subtitle">$subtitle$</p>
  91. $endif$
  92. $for(author)$
  93. <p class="author">$author$</p>
  94. $endfor$
  95. $if(date)$
  96. <p class="date">$date$</p>
  97. $endif$
  98. <ul>
  99. <li><a href="/">Home</a></li>
  100. <li><a href="/faq.html">FAQ</a></li>
  101. <li><a href="/download.html">Download</a></li>
  102. <li><a href="/docs/install/">Install</a></li>
  103. <li><a href="/docs/">Docs</a></li>
  104. <li><a href="/news/">News</a></li>
  105. <li><a href="https://notabug.org/osboot/osbmk/issues">Bugs</a></li>
  106. <li><a href="/git.html">Send patch</a></li>
  107. <li><strong><a href="https://www.patreon.com/libreleah">Donate</a></strong></li>
  108. <li><a href="/contact.html">Contact</a></li>
  109. <li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
  110. </ul>
  111. <hr/>
  112. </header>
  113. $endif$
  114. $if(return)$
  115. $return$
  116. $endif$
  117. $if(toc)$
  118. <nav id="$idprefix$TOC">
  119. <h1>Navigate this page:</h1>
  120. $toc$
  121. </nav>
  122. $endif$
  123. $if(toc)$
  124. <div class="pagetext">
  125. $endif$
  126. $body$
  127. $for(include-after)$
  128. $include-after$
  129. $endfor$
  130. $if(toc)$
  131. </div>
  132. $endif$
  133. </div>
  134. </body>
  135. </html>