add footer.uk.include & template.uk.include

hslick-master
Vladislav Shapovalov 2023-03-03 12:40:06 +02:00
parent e260af59fe
commit 86e04f7fe0
2 changed files with 119 additions and 0 deletions

13
site/footer.uk.include Normal file
View File

@ -0,0 +1,13 @@
-------------------------------------------------------------------------------
* [Політика бінарних блобів](/news/policy.md)
* [Редагувати цю сторінку](/git.md)
* [Хто розробляє Libreboot?](/who.uk.md)
* [Ліцензія](/license.md)
* [Шаблон](/template-license.uk.md)
* [Логотип](/logo-license.uk.md)
* [Автори](/contrib.uk.md)
-------------------------------------------------------------------------------

106
site/template.uk.include Normal file
View File

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<!-- anti-social media tags -->
<meta property="og:title" content="$if(title-prefix)$$title-prefix$ $endif$$pagetitle$">
<meta property="og:type" content="article" />
<meta property="og:image" content="https://av.vimuser.org/bootmenu.jpg">
<meta property="og:url" content="$antisocialurl$">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:description" content="$if(title-prefix)$$title-prefix$ $endif$$pagetitle$">
<meta property="og:site_name" content="$if(title-prefix)$$title-prefix$ $endif$$pagetitle$">
<meta name="twitter:image:alt" content="$if(title-prefix)$$title-prefix$ $endif$$pagetitle$">
$for(author-meta)$
<meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "" ""; }</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
</head>
<body>
<div class="page">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header>
<div class="title">
<p class="title-logo">
<img class="title-logo" alt="Логотип Libreboot" src="/favicon.ico" />
</p>
<h1 class="title">$title$</h1>
</div>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
<ul>
<li><a href="/index.uk.html">Домашня</a></li>
<li><a href="/faq.html">FAQ</a></li>
<li><a href="/download.uk.html">Завантаження</a></li>
<li><a href="/docs/install/">Встановлення</a></li>
<li><a href="/docs/">Документація</a></li>
<li><a href="/news/">Новини</a></li>
<li><a href="https://notabug.org/libreboot/lbmk/issues">Помилки</a></li>
<li><a href="/git.html">Відправити виправлення</a></li>
<li><strong><a href="https://www.patreon.com/libreleah">Пожертвувати</a></strong></li>
<li><a href="/contact.uk.html">Зв'язок</a></li>
<li><strong><a href="https://minifree.org/">Придбати передвстановленим</a></strong></li>
</ul>
<hr/>
</header>
$endif$
$if(return)$
$return$
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
<h1>Навігація цією сторінкою:</h1>
$toc$
</nav>
$endif$
$if(toc)$
<div class="pagetext">
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
$if(toc)$
</div>
$endif$
</div>
</body>
</html>