lbwww/site/template.include

219 lines
4.0 KiB
Plaintext
Raw Normal View History

2021-05-18 12:21:48 +00:00
<!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 -->
2022-02-10 17:31:03 +00:00
<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">
2022-02-10 17:31:03 +00:00
<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$">
2021-05-18 12:21:48 +00:00
$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>
<style type="text/css">
.specs
{
float: right;
}
:not(p)
{
max-width: 85em;
margin: 0 auto;
}
html
{
background: #280b22;
color: #eee;
font-family: sans-serif;
line-height: 1.4;
text-shadow: 1px 1px #000;
}
code,pre, #TOC, a:hover
{
background: #4e324e;
}
a
{
color: #fcc;
}
2022-02-17 04:01:27 +00:00
img,video,iframe,pre
{
max-width: 100%;
overflow: auto;
}
.title>*, header ul>li, .nav ul>li,
#footer ul>li, .h:hover>*
{
display: inline;
margin: 0.7%;
text-align :center;
}
.title>*, span.date
{
display: block;
}
html, ul, #TOC
{
padding: 1em;
}
.date, .author, .h a
{
display: none;
2021-09-05 12:04:32 +00:00
}
@media (min-width:60em)
{
2022-11-15 20:34:00 +00:00
.title-logo{display:none}
div.title,h1.title {
background:url("/favicon.ico") no-repeat;
background-size:auto 99%;
min-height:2em
}
div.title {background-position:right}
h1.title {padding:0 4em}
#TOC
{
float: left;
margin: 1em;
min-width: 25%;
2021-09-05 13:31:51 +00:00
}
}
.f, .f *
{
position: fixed;
max-width: 100%;
max-height: 100%;
top: 50%;
left: 50%;
}
.f *
{
transform: translate(-50%, -50%);
}
.f
{
display: none;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
}
*:focus + .f
{
display: block;
}
img
{
cursor: pointer;
}
</style>
2021-05-18 12:21:48 +00:00
$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">
2021-07-19 23:48:14 +00:00
<p class="title-logo">
<img class="title-logo" alt="Libreboot logo" src="/favicon.ico" />
2021-07-19 23:48:14 +00:00
</p>
2021-05-18 12:21:48 +00:00
<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="/">Home</a></li>
<li><a href="/faq.html">FAQ</a></li>
<li><a href="/download.html">Download</a></li>
<li><a href="/docs/install/">Install</a></li>
<li><a href="/docs/">Docs</a></li>
<li><a href="/news/">News</a></li>
<li><a href="https://notabug.org/libreboot/lbmk/issues">Bugs</a></li>
<li><a href="/git.html">Send patch</a></li>
2022-02-02 22:30:10 +00:00
<li><strong><a href="https://www.patreon.com/libreleah">Donate</a></strong></li>
<li><a href="/contact.html">Contact</a></li>
<li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
2021-05-18 12:21:48 +00:00
</ul>
<hr/>
</header>
$endif$
$if(return)$
$return$
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
<h1>Navigate this page:</h1>
$toc$
</nav>
$endif$
$if(toc)$
<div class="pagetext">
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
$if(toc)$
</div>
$endif$
</div>
</body>
</html>