summaryrefslogtreecommitdiffstats
path: root/site/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/index.php')
-rw-r--r--site/index.php45
1 files changed, 32 insertions, 13 deletions
diff --git a/site/index.php b/site/index.php
index 6c82088..ecbdd45 100644
--- a/site/index.php
+++ b/site/index.php
@@ -1,3 +1,26 @@
+<?php
+/*
+ Home page
+ Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+?>
+<?php
+ include_once "variables.php";
+ include_once "torrents.php";
+?>
<!DOCTYPE html>
<html>
<head>
@@ -6,28 +29,24 @@
<link rel="stylesheet" type="text/css" href="css/main.css" />
- <title>Libreboot project</title>
+ <title><?php echo $lbProjectNameCapitalized; ?> project</title>
</head>
-<?php
- include_once "variables.php";
-?>
-
<body>
<div class="contain">
<div id="libreboot" class="section intro">
<p>
- <img class="homepage_logo" src="logo/logo.svg" alt="" />
+ <img class="homepage_logo" src="logo/logo.svg" alt="" title="<?php include "logo/license.txt"; ?>" />
</p>
- <h1>Libreboot project</h1>
+ <h1><?php echo $lbProjectNameCapitalized; ?> project</h1>
<p>
- Libreboot is a <a href="http://coreboot.org/">coreboot</a> distribution (distro) with proprietary software removed,
+ <?php echo $lbProjectNameCapitalized; ?> is a <a href="http://coreboot.org/">coreboot</a> distribution (distro) with proprietary software removed,
intended to be a <a href="https://www.fsf.org/about/what-is-free-software">free</a>
(libre) 'BIOS' replacement for your computer. The project is aimed at users, attempting to make
- coreboot as easy to use as possible. <a href="docs/index.html#why">Learn more about libreboot</a>.
+ coreboot as easy to use as possible. <a href="docs/index.html#why">Learn more about <?php echo $lbProjectName; ?></a>.
</p>
<p>
'Free' in this sense refers to freedom (liberty); read the full <a href="https://www.gnu.org/philosophy/free-sw.html">Free Software definition</a>.
@@ -42,14 +61,14 @@
Utilities (statically compiled) and ROM images are provided, built from the source code.
</p>
<ul class="ulnav">
- <li><a href="docs/release.html">Downloads</a></li>
- <li><a href="docs/install/index.html">How to install libreboot</a></li>
- <li><a href="docs/gnulinux/index.html">How to install GNU/Linux on a libreboot system</a></li>
+ <li><a href="download/">Downloads</a></li>
+ <li><a href="docs/install/index.html">How to install <?php echo $lbProjectName; ?></a></li>
+ <li><a href="docs/gnulinux/index.html">How to install GNU/Linux on a <?php echo $lbProjectName; ?> system</a></li>
<li><a href="docs/hcl/index.html#supported_list">List of supported systems</a></li>
<li><a href="docs/index.html">General documentation</a></li>
</ul>
<p>
- The latest release is from February 8th, 2015.
+ The latest release is from <?php echo $lbTorrentLink[0][0][1]; ?>.
</p>
</div>
<div class="section unstable">