template.pl.include 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. $if(quotes)$
  18. <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
  19. $endif$
  20. $if(highlighting-css)$
  21. <style type="text/css">
  22. $highlighting-css$
  23. </style>
  24. $endif$
  25. $for(css)$
  26. <link rel="stylesheet" href="$css$">
  27. $endfor$
  28. $if(math)$
  29. $math$
  30. $endif$
  31. $for(header-includes)$
  32. $header-includes$
  33. $endfor$
  34. </head>
  35. <body>
  36. <div class="page">
  37. $for(include-before)$
  38. $include-before$
  39. $endfor$
  40. $if(title)$
  41. <header>
  42. <div class="title">
  43. <p class="title-logo">
  44. <img class="title-logo" alt="" src="https://av.trans.chat/logo/logo.svg" />
  45. </p>
  46. <h1 class="title">$title$</h1>
  47. </div>
  48. $if(subtitle)$
  49. <p class="subtitle">$subtitle$</p>
  50. $endif$
  51. $for(author)$
  52. <p class="author">$author$</p>
  53. $endfor$
  54. $if(date)$
  55. <p class="date">$date$</p>
  56. $endif$
  57. <hr/>
  58. <ul>
  59. <li><a href="/index.pl.html">Strona główna</a></li>
  60. <li><a href="/manifesto.pl.html">Manifest</a></li>
  61. <li><a href="/contrib.pl.html">Zaproponuj zmiany na stronie</a></li>
  62. <li><a href="/resources.pl.html">Materiały</a></li>
  63. <li><strong><a href="/irc.pl.html">Czat</a></strong></li>
  64. </ul>
  65. <hr/>
  66. </header>
  67. $endif$
  68. $if(return)$
  69. $return$
  70. $endif$
  71. $if(toc)$
  72. <nav id="$idprefix$TOC">
  73. $toc$
  74. </nav>
  75. $endif$
  76. $if(toc)$
  77. <div class="pagetext">
  78. $endif$
  79. $body$
  80. $for(include-after)$
  81. $include-after$
  82. $endfor$
  83. $if(toc)$
  84. </div>
  85. $endif$
  86. </div>
  87. </body>
  88. </html>