summaryrefslogtreecommitdiffstats
path: root/site/contrib/index.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-27 16:39:36 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-27 16:39:36 (EDT)
commitc75e3d259dad8c37829af91651d017a89dee3fb7 (patch)
treebad024bf00b19b659e1fc3c576e16808df47ad75 /site/contrib/index.php
parentf7f1d9caa381c4cb2353a7da37d7808a171887f1 (diff)
downloadlibreboot.org-c75e3d259dad8c37829af91651d017a89dee3fb7.zip
libreboot.org-c75e3d259dad8c37829af91651d017a89dee3fb7.tar.gz
libreboot.org-c75e3d259dad8c37829af91651d017a89dee3fb7.tar.bz2
minify html and css
Diffstat (limited to 'site/contrib/index.php')
-rw-r--r--site/contrib/index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/site/contrib/index.php b/site/contrib/index.php
index 524c101..713f62d 100644
--- a/site/contrib/index.php
+++ b/site/contrib/index.php
@@ -18,6 +18,7 @@
*/
?>
<?php
+ ob_start();
include_once "../variables.php";
include_once "../functions.php";
?>
@@ -28,7 +29,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
-<?php include "../css/main.css"; ?>
+<?php echo miniCss(file_get_contents("../css/main.css")); ?>
</style>
<title><?php echo gettext("Libreboot project maintainers"); ?></title>
@@ -89,4 +90,7 @@
</body>
</html>
-
+<?php
+ $strHtml = ob_get_clean();
+ echo miniHtml($strHtml);
+?> \ No newline at end of file