template.include 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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="description" content="$metadesc$">
  6. <meta name="keywords" content="libreboot, coreboot, canoeboot, opensource, libre, free software, bios, uefi">
  7. <meta name="generator" content="pandoc">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  9. <link rel="icon" type="image/x-icon" href="/favicon.ico">
  10. <link rel="canonical" href="$antisocialcanon$" />
  11. <!-- anti-social media tags -->
  12. <meta property="og:title" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  13. <meta property="og:type" content="article" />
  14. <meta property="og:image" content="https://av.canoeboot.org/t60logo.jpg">
  15. <meta property="og:url" content="$antisocialurl$">
  16. <meta name="twitter:card" content="summary_large_image">
  17. <meta property="og:description" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  18. <meta property="og:site_name" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  19. <meta name="twitter:image:alt" content="$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$">
  20. $for(author-meta)$
  21. <meta name="author" content="$author-meta$">
  22. $endfor$
  23. $if(date-meta)$
  24. <meta name="dcterms.date" content="$date-meta$">
  25. $endif$
  26. $if(keywords)$
  27. <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
  28. $endif$
  29. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  30. $if(quotes)$
  31. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  32. $endif$
  33. $if(highlighting-css)$
  34. <style type="text/css">
  35. $highlighting-css$
  36. </style>
  37. $endif$
  38. $for(css)$
  39. <link rel="stylesheet" href="$css$">
  40. $endfor$
  41. $if(math)$
  42. $math$
  43. $endif$
  44. $for(header-includes)$
  45. $header-includes$
  46. $endfor$
  47. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  48. </head>
  49. <body>
  50. <div class="page">
  51. $for(include-before)$
  52. $include-before$
  53. $endfor$
  54. $if(title)$
  55. <header>
  56. <div class="title" onclick="location.href='/';">
  57. <p class="title-logo">
  58. <a href="/"><img class="title-logo" alt="Canoeboot logo" src="/favicon.ico" /></a>
  59. </p>
  60. <h1 class="title">$title$</h1>
  61. </div>
  62. $if(subtitle)$
  63. <p class="subtitle">$subtitle$</p>
  64. $endif$
  65. $for(author)$
  66. <p class="author">$author$</p>
  67. $endfor$
  68. $if(date)$
  69. <p class="date">$date$</p>
  70. $endif$
  71. <ul>
  72. <li><a href="/">Home</a></li>
  73. <li><a href="/about.html">About</a></li>
  74. <li><a href="/faq.html">FAQ</a></li>
  75. <li style="font-size:1.3em;"><strong><a href="/download.html">Download</a></strong></li>
  76. <li><a href="/git.html">Git</a></li>
  77. <li style="font-size:1.3em;"><strong><a href="/docs/install/">Install</a></strong></li>
  78. <li><a href="/docs/">Docs</a></li>
  79. <li><a href="/news/">News</a></li>
  80. <li><a href="https://codeberg.org/canoeboot/cbmk/issues">Bugs</a></li>
  81. <li><a href="/contact.html">Contact</a></li>
  82. <li><a href="/other.html">Other coreboot distros</a></li>
  83. <li>-</li>
  84. <li>Canoeboot is a <a href="https://libreboot.org/">Libreboot</a> fork</li>
  85. </ul>
  86. <hr/>
  87. </header>
  88. $endif$
  89. $if(return)$
  90. $return$
  91. $endif$
  92. $if(toc)$
  93. <nav id="$idprefix$TOC">
  94. <h2>Navigate this page:</h2>
  95. $toc$
  96. </nav>
  97. $endif$
  98. $if(toc)$
  99. <div class="pagetext">
  100. $endif$
  101. $body$
  102. $for(include-after)$
  103. $include-after$
  104. $endfor$
  105. $if(toc)$
  106. </div>
  107. $endif$
  108. </div>
  109. </body>
  110. </html>