template.include 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.canoeboot.org/t60logo.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="Canoeboot 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="/about.html">About</a></li>
  70. <li><a href="/faq.html">FAQ</a></li>
  71. <li><strong><a href="/download.html">Download</a></strong></li>
  72. <li><a href="/docs/install/">Install</a></li>
  73. <li><a href="/docs/">Docs</a></li>
  74. <li><a href="/news/">News</a></li>
  75. <li><a href="https://codeberg.org/canoeboot/cbmk/issues">Bugs</a></li>
  76. <li><a href="/git.html">Send patch</a></li>
  77. <li><a href="/contact.html">Contact</a></li>
  78. </ul>
  79. <hr/>
  80. </header>
  81. $endif$
  82. $if(return)$
  83. $return$
  84. $endif$
  85. $if(toc)$
  86. <nav id="$idprefix$TOC">
  87. <h1>Navigate this page:</h1>
  88. $toc$
  89. </nav>
  90. $endif$
  91. $if(toc)$
  92. <div class="pagetext">
  93. $endif$
  94. $body$
  95. $for(include-after)$
  96. $include-after$
  97. $endfor$
  98. $if(toc)$
  99. </div>
  100. $endif$
  101. </div>
  102. </body>
  103. </html>