lbwww/site/template.include

151 lines
3.5 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 -->
$if(title-prefix)$
<meta property="og:title" content="$title-prefix$">
<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="$pagetitle$">
<meta property="og:site_name" content="$title-prefix$">
<meta name="twitter:image:alt" content="$pagetitle$">
$endif$
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">
html{
2022-02-10 12:37:53 +00:00
background:#111;
color:#eee;
}
.date,.author,.h a{display:none}
2022-02-10 12:37:53 +00:00
code,pre,#TOC,a:hover{background:#333}
:not(p),a:hover {
max-width:60em;
margin:0 auto;
font-family:sans-serif;
2022-02-10 12:37:53 +00:00
line-height:1.4;
text-shadow: 1px 1px #000
}
2022-02-10 12:37:53 +00:00
a{color:#fcc}
.title>*, header ul>li, .nav ul>li,
#footer ul>li, .h:hover>*
ul>li
{
display:inline;
margin:.7%;
text-align:center;
}
.title>*,span.date{display:block}
img,video,iframe{max-width:100%}
#TOC{
2021-09-05 12:04:32 +00:00
float:left;
margin:1em
2021-09-05 12:04:32 +00:00
}
2021-09-05 13:31:51 +00:00
@media (min-width:60em) {
.title-logo{display:none}
div.title,h1.title {
background:url("/favicon.ico") no-repeat;
2021-09-05 13:31:51 +00:00
background-size:auto 99%;
2021-09-05 15:56:45 +00:00
min-height:2em
2021-09-05 13:31:51 +00:00
}
div.title {background-position:right}
h1.title {padding:0 4em}
#TOC{min-width:25%}
2021-09-05 13:31:51 +00:00
}
2022-02-10 12:37:53 +00:00
html,ul,#TOC{padding:1em}
</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>