mirror of
https://git.savannah.gnu.org/git/gnuboot.git
synced 2025-01-03 23:07:39 +01:00
Denis 'GNUtoo' Carikli
0e3ff8047f
The file adding the news is named gnuboot-december-2023.md instead of gnuboot-0.1-rc1.md as the later is understood as a translation in the '1-rc1' lang. Renaming the file to gnuboot-0.1-rc1.en.md instead makes untitled detect the lang correctly but then it assumes this is a translation and adds a broken link for "English" on the new page. For now the older Libreboot news were kept as this shows the history of the project and since GNU Boot is a continuation of the Libreboot project it makes sense to also keep them. The CSS also needed to be separated from the template because otherwise the generated news page would be incomplete and miss all what comes before the CSS like '<!DOCTYPE html>' for instance. Finally x-reviewed was changed into x-unreviewed because we can't set x-reviewed for the news, so the only way to remove the banner for the individual news is to default to reviewed (and to mark all unreviewed files as such). As for the Untitled patch it is needed to make the news page work. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
107 lines
2.8 KiB
Text
107 lines
2.8 KiB
Text
<!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>
|
||
$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">
|
||
<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="/software/gnuboot/web/index.html">Home</a></li>
|
||
<li><a href="/software/gnuboot/web/status.html">Status</a></li>
|
||
<li><a href="/software/gnuboot/web/faq.html">FAQ</a></li>
|
||
<li><a href="/software/gnuboot/web/download.html">Download</a></li>
|
||
<li><a href="/software/gnuboot/web/docs/install/">Install</a></li>
|
||
<li><a href="/software/gnuboot/web/docs/">Docs</a></li>
|
||
<li><a href="/software/gnuboot/web/news/">News</a></li>
|
||
<li><a href="https://savannah.gnu.org/bugs/?group=gnuboot">Bugs</a></li>
|
||
<li><a href="https://savannah.gnu.org/projects/gnuboot/">Savannah forge</a></li>
|
||
<li><a href="/software/gnuboot/web/git.html">Send patch</a></li>
|
||
<li><a href="/software/gnuboot/web/contact.html">Contact</a></li>
|
||
<li><strong><a href="https://ryf.fsf.org/categories/laptops">Buy preinstalled</a></strong></li>
|
||
</ul>
|
||
<hr/>
|
||
$if(x-unreviewed)$
|
||
<div class="warning_banner">
|
||
<p>
|
||
The information on this page could be outdated or refer to other
|
||
boot software related projects instead of GNU Boot. We also need
|
||
help (ideally in the form of patches sent to the GNU Boot mailing
|
||
list) to fix this website. See
|
||
the <a href="/software/gnuboot/web/git.html">Send patch</a>
|
||
page for more details on how to contribute to GNU Boot.
|
||
</p>
|
||
<hr/>
|
||
</div>
|
||
$else$
|
||
$endif$
|
||
</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>
|