gnuboot/site/template.include

142 lines
3.0 KiB
Plaintext
Raw Normal View History

2021-05-18 14:21:48 +02: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">
$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">
2021-09-05 14:04:32 +02:00
html{background:#fff}
.date,.author,.h a{display:none}
2021-09-05 14:04:32 +02:00
body,a:hover{
font:1em sans-serif;
2021-09-05 14:04:32 +02:00
line-height:1.4;
color:#222
}
a{color:#22d}
code,pre,#TOC,a:hover{background:#eee}
:not(p) {
max-width:60em;
margin:0 auto
}
.title>*, header ul>li, .nav ul>li,
#footer ul>li, .h:hover>*, pre, table
{
display:inline;
margin:.7%;
text-align:center
}
.title>*{display:block}
2021-09-05 14:04:32 +02:00
img,video{max-width:100%}
.left,#TOC{
2021-09-05 14:04:32 +02:00
float:left;
margin:1em 1em 1em 0
}
.right{
float:right;
margin:1em 0 1em 1em
}
html,ul,#TOC{padding:1em}
#TOC{margin:1em}
2021-09-05 14:26:15 +02:00
#footer{clear:both}
2021-09-05 15:31:51 +02:00
@media (min-width:60em) {
.title-logo{display:none}
div.title,h1.title {
background:url("/favicon.ico") no-repeat;
2021-09-05 15:31:51 +02:00
background-size:auto 99%;
2021-09-05 17:56:45 +02:00
min-height:2em
2021-09-05 15:31:51 +02:00
}
div.title {background-position:right}
h1.title {padding:0 4em}
#TOC{min-width:25%}
2021-09-05 15:31:51 +02:00
}
</style>
2021-05-18 14:21:48 +02: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-20 01:48:14 +02:00
<p class="title-logo">
<img class="title-logo" alt="Libreboot logo" src="/favicon.ico" />
2021-07-20 01:48:14 +02:00
</p>
2021-05-18 14:21:48 +02: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>
2021-05-18 14:21:48 +02:00
<li><a href="/tasks/">TODO</a></li>
<li><a href="/git.html">Send patch</a></li>
<li><a href="/contact.html">Contact</a></li>
<li><strong><a href="https://minifree.org/">Buy preinstalled</a></strong></li>
2021-05-18 14:21:48 +02: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>