summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-12-12 21:35:26 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-12-12 21:35:26 (EST)
commit4420e95970e33a1f015e57943a2e76ee8fdd17ff (patch)
tree0802495f058e918491dad8253abf80aed98e0866
parent141f849d47bf31ffdd3eabfc1bf0568933168a6c (diff)
downloadlibreboot.org-4420e95970e33a1f015e57943a2e76ee8fdd17ff.zip
libreboot.org-4420e95970e33a1f015e57943a2e76ee8fdd17ff.tar.gz
libreboot.org-4420e95970e33a1f015e57943a2e76ee8fdd17ff.tar.bz2
link to css on pages, don't embed inline (for browser caching)
-rw-r--r--site/contrib/index.php4
-rw-r--r--site/donate/index.php4
-rw-r--r--site/download/index.php4
-rw-r--r--site/faq/index.php4
-rw-r--r--site/git/index.php4
-rw-r--r--site/gnu/index.php4
-rw-r--r--site/gpg/index.php4
-rw-r--r--site/index.php4
-rw-r--r--site/rsync/index.php6
-rw-r--r--site/suppliers/index.php4
10 files changed, 11 insertions, 31 deletions
diff --git a/site/contrib/index.php b/site/contrib/index.php
index da075e2..1123a5d 100644
--- a/site/contrib/index.php
+++ b/site/contrib/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Libreboot project maintainers"); ?></title>
</head>
diff --git a/site/donate/index.php b/site/donate/index.php
index a9ca159..6b6bfe7 100644
--- a/site/donate/index.php
+++ b/site/donate/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Donating to libreboot"); ?></title>
</head>
diff --git a/site/download/index.php b/site/download/index.php
index 33242df..9eafeea 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Download libreboot"); ?></title>
</head>
diff --git a/site/faq/index.php b/site/faq/index.php
index ea63a34..0f60f9e 100644
--- a/site/faq/index.php
+++ b/site/faq/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title>Answers to Frequently Asked Questions about libreboot</title>
</head>
diff --git a/site/git/index.php b/site/git/index.php
index db5137f..1bfeca8 100644
--- a/site/git/index.php
+++ b/site/git/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Git repositories"); ?></title>
</head>
diff --git a/site/gnu/index.php b/site/gnu/index.php
index fe1490d..99b7e1d 100644
--- a/site/gnu/index.php
+++ b/site/gnu/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title>GNU Libreboot</title>
</head>
diff --git a/site/gpg/index.php b/site/gpg/index.php
index 72695f4..6ca413e 100644
--- a/site/gpg/index.php
+++ b/site/gpg/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("GPG signing key"); ?></title>
</head>
diff --git a/site/index.php b/site/index.php
index 2ed50cc..03115fe 100644
--- a/site/index.php
+++ b/site/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="common/css/main.css" />
<meta name="keywords" content="free software, open source, FOSS, FLOSS, OSS, libre software, gnu, linux, libreboot, coreboot, bios, uefi, firmware" />
<title><?php echo gettext("Libreboot project"); ?></title>
</head>
diff --git a/site/rsync/index.php b/site/rsync/index.php
index 3e7629c..34b283d 100644
--- a/site/rsync/index.php
+++ b/site/rsync/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Mirroring libreboot"); ?></title>
</head>
@@ -63,4 +61,4 @@
<?php
$strHtml = ob_get_clean();
echo miniHtml($strHtml);
-?> \ No newline at end of file
+?>
diff --git a/site/suppliers/index.php b/site/suppliers/index.php
index eaf72ad..152b19e 100644
--- a/site/suppliers/index.php
+++ b/site/suppliers/index.php
@@ -24,9 +24,7 @@
<!DOCTYPE html>
<html>
<head>
- <style type="text/css">
- <?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
- </style>
+ <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
<title><?php echo gettext("Laptops and servers with libreboot and GNU/Linux preinstalled"); ?></title>
</head>