template.include 3.0 KB

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