template.include 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. $if(quotes)$
  27. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  28. $endif$
  29. $if(highlighting-css)$
  30. <style type="text/css">
  31. $highlighting-css$
  32. </style>
  33. $endif$
  34. $for(css)$
  35. <link rel="stylesheet" href="$css$">
  36. $endfor$
  37. $if(math)$
  38. $math$
  39. $endif$
  40. $for(header-includes)$
  41. $header-includes$
  42. $endfor$
  43. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  44. </head>
  45. <body>
  46. <div class="page">
  47. $for(include-before)$
  48. $include-before$
  49. $endfor$
  50. $if(title)$
  51. <header>
  52. <div class="title">
  53. <p class="title-logo">
  54. <img class="title-logo" alt="Libreboot logo" src="/favicon.ico" />
  55. </p>
  56. <h1 class="title">$title$</h1>
  57. </div>
  58. $if(subtitle)$
  59. <p class="subtitle">$subtitle$</p>
  60. $endif$
  61. $for(author)$
  62. <p class="author">$author$</p>
  63. $endfor$
  64. $if(date)$
  65. <p class="date">$date$</p>
  66. $endif$
  67. <ul>
  68. <li><a href="/">Home</a></li>
  69. <li><a href="/faq.html">FAQ</a></li>
  70. <li><a href="/download.html">Download</a></li>
  71. <li><a href="/docs/install/">Install</a></li>
  72. <li><a href="/docs/">Docs</a></li>
  73. <li><a href="/news/">News</a></li>
  74. <li><a href="https://notabug.org/libreboot/lbmk/issues">Bugs</a></li>
  75. <li><a href="/git.html">Send patch</a></li>
  76. <li><strong><a href="https://www.patreon.com/libreleah">Donate</a></strong></li>
  77. <li><a href="/contact.html">Contact</a></li>
  78. <li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
  79. </ul>
  80. <hr/>
  81. </header>
  82. $endif$
  83. $if(return)$
  84. $return$
  85. $endif$
  86. $if(toc)$
  87. <nav id="$idprefix$TOC">
  88. <h1>Navigate this page:</h1>
  89. $toc$
  90. </nav>
  91. $endif$
  92. $if(toc)$
  93. <div class="pagetext">
  94. $endif$
  95. $body$
  96. $for(include-after)$
  97. $include-after$
  98. $endfor$
  99. $if(toc)$
  100. </div>
  101. $endif$
  102. </div>
  103. </body>
  104. </html>