template.include 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. <meta property="og:title" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  9. <meta property="og:type" content="article" />
  10. <meta property="og:image" content="https://av.vimuser.org/bootmenu.jpg">
  11. <meta property="og:url" content="$antisocialurl$">
  12. <meta name="twitter:card" content="summary_large_image">
  13. <meta property="og:description" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  14. <meta property="og:site_name" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  15. <meta name="twitter:image:alt" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  16. $for(author-meta)$
  17. <meta name="author" content="$author-meta$">
  18. $endfor$
  19. $if(date-meta)$
  20. <meta name="dcterms.date" content="$date-meta$">
  21. $endif$
  22. $if(keywords)$
  23. <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
  24. $endif$
  25. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  26. <style type="text/css">
  27. :not(p) {max-width:60em; margin:0 auto}
  28. img,video,iframe,pre {max-width:100%; overflow:auto}
  29. html {
  30. background:#111; color:#eee;
  31. font-family:sans-serif; line-height:1.4;
  32. text-shadow:1px 1px #000
  33. }
  34. code,pre, #TOC, a:hover {background:#333}
  35. a {color:#fcc}
  36. .title>*, header ul>li, .nav ul>li,
  37. #footer ul>li, .h:hover>* {
  38. display:inline; margin:.7%; text-align:center
  39. }
  40. .title>*, span.date {display:block}
  41. @media (min-width:60em) {
  42. .title-logo{display:none}
  43. div.title,h1.title {
  44. background:url("/favicon.ico") no-repeat;
  45. background-size:auto 99%;
  46. min-height:2em
  47. }
  48. div.title {background-position:right}
  49. h1.title {padding:0 4em}
  50. #TOC {float:left; margin:1em; min-width:25%}
  51. }
  52. html,ul,#TOC {padding:1em}
  53. .date,.author,.h a {display:none}
  54. </style>
  55. $if(quotes)$
  56. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  57. $endif$
  58. $if(highlighting-css)$
  59. <style type="text/css">
  60. $highlighting-css$
  61. </style>
  62. $endif$
  63. $for(css)$
  64. <link rel="stylesheet" href="$css$">
  65. $endfor$
  66. $if(math)$
  67. $math$
  68. $endif$
  69. $for(header-includes)$
  70. $header-includes$
  71. $endfor$
  72. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  73. </head>
  74. <body>
  75. <div class="page">
  76. $for(include-before)$
  77. $include-before$
  78. $endfor$
  79. $if(title)$
  80. <header>
  81. <div class="title">
  82. <p class="title-logo">
  83. <img class="title-logo" alt="Libreboot logo" src="/favicon.ico" />
  84. </p>
  85. <h1 class="title">$title$</h1>
  86. </div>
  87. $if(subtitle)$
  88. <p class="subtitle">$subtitle$</p>
  89. $endif$
  90. $for(author)$
  91. <p class="author">$author$</p>
  92. $endfor$
  93. $if(date)$
  94. <p class="date">$date$</p>
  95. $endif$
  96. <ul>
  97. <li><a href="/">Home</a></li>
  98. <li><a href="/faq.html">FAQ</a></li>
  99. <li><a href="/download.html">Download</a></li>
  100. <li><a href="/docs/install/">Install</a></li>
  101. <li><a href="/docs/">Docs</a></li>
  102. <li><a href="/news/">News</a></li>
  103. <li><a href="https://notabug.org/libreboot/lbmk/issues">Bugs</a></li>
  104. <li><a href="/git.html">Send patch</a></li>
  105. <li><strong><a href="https://www.patreon.com/libreleah">Donate</a></strong></li>
  106. <li><a href="/contact.html">Contact</a></li>
  107. <li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
  108. </ul>
  109. <hr/>
  110. </header>
  111. $endif$
  112. $if(return)$
  113. $return$
  114. $endif$
  115. $if(toc)$
  116. <nav id="$idprefix$TOC">
  117. <h1>Navigate this page:</h1>
  118. $toc$
  119. </nav>
  120. $endif$
  121. $if(toc)$
  122. <div class="pagetext">
  123. $endif$
  124. $body$
  125. $for(include-after)$
  126. $include-after$
  127. $endfor$
  128. $if(toc)$
  129. </div>
  130. $endif$
  131. </div>
  132. </body>
  133. </html>