template.include 2.9 KB

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