summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-09-06 16:36:36 +0200
committerAlex Legler <alex@a3li.li>2014-09-06 16:36:36 +0200
commit211b814b9f742734e53254383b0c3fb50684cdb4 (patch)
tree4d6e59b81d0e06af40eaf74a9d84efe92e7558eb
downloadstatic-sites-211b814b9f742734e53254383b0c3fb50684cdb4.tar.gz
static-sites-211b814b9f742734e53254383b0c3fb50684cdb4.tar.bz2
static-sites-211b814b9f742734e53254383b0c3fb50684cdb4.zip
Initial version.
Contains current tyrian markup, http error pages, as well as a page for the bytemark outage later this month.
-rw-r--r--.gitignore1
-rw-r--r--_config.yml10
-rw-r--r--_includes/footer.html24
-rw-r--r--_includes/head.html9
-rw-r--r--_includes/header.html55
-rw-r--r--_layouts/box.html9
-rw-r--r--_layouts/tyrian.html22
-rw-r--r--errors/400.html11
-rw-r--r--errors/403.html12
-rw-r--r--errors/404.html12
-rw-r--r--errors/410.html13
-rw-r--r--errors/500.html13
-rw-r--r--errors/502.html14
-rw-r--r--errors/503.html15
-rw-r--r--errors/504.html14
-rw-r--r--errors/default-vhost.html20
-rw-r--r--errors/index.html17
-rw-r--r--index.html12
-rw-r--r--outages/2014-09-bytemark.html22
-rw-r--r--outages/index.html9
20 files changed, 314 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c08f9ad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+_site \ No newline at end of file
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 0000000..8d49b5f
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1,10 @@
+# Site settings
+title: Gentoo Linux
+
+# Build settings
+markdown: kramdown
+
+# No slash at the end
+cdnurl: https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com
+contact: http://www.gentoo.org/main/en/contact.xml
+copyrightyears: "2001&ndash;2014" \ No newline at end of file
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..05ac00f
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,24 @@
+<footer>
+ <div class="container">
+ <div class="row">
+ <div class="col-md-8">
+ {% if page.footer %}{{ page.footer }}{% endif %}
+ </div>
+ <div class="col-md-4">
+ <strong>Questions or comments?</strong><br />
+ Please feel free to <a href="{% if page.contact %}{{ page.contact }}{% else %}{{ site.contact }}{% endif %}">contact us</a>.
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <strong>&copy; {{ site.copyrightyears }} Gentoo Foundation, Inc.</strong><br />
+ <small>
+ Gentoo is a trademark of the Gentoo Foundation, Inc.
+ The contents of this document, unless otherwise expressly stated, are licensed under the
+ <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license.
+ The <a href="http://www.gentoo.org/main/en/name-logo.xml">Gentoo Name and Logo Usage Guidelines</a> apply.
+ </small>
+ </div>
+ </div>
+ </div>
+</footer> \ No newline at end of file
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100644
index 0000000..0f9f4b1
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,9 @@
+<head>
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
+ {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link href="{{ site.cdnurl }}/bootstrap.min.css" rel="stylesheet" media="screen">
+ <link href="{{ site.cdnurl }}/tyrian.min.css" rel="stylesheet" media="screen">
+ <link rel="icon" href="http://www.gentoo.org/favicon.ico" type="image/x-icon">
+</head> \ No newline at end of file
diff --git a/_includes/header.html b/_includes/header.html
new file mode 100644
index 0000000..a4d3833
--- /dev/null
+++ b/_includes/header.html
@@ -0,0 +1,55 @@
+<header>
+ <div class="site-title">
+ <div class="container">
+ <div class="row">
+ <div class="site-title-buttons">
+ <div class="btn-group btn-group-sm">
+ <a href="http://get.gentoo.org/" role="button" class="btn get-gentoo"><span class="fa fa-download"></span> <strong>Get Gentoo!</strong></a>
+ <div class="btn-group btn-group-sm">
+ <button type="button" class="btn gentoo-org-sites dropdown-toggle" data-toggle="dropdown">
+ <span class="glyphicon glyphicon-globe"></span> gentoo.org sites <span class="caret"></span>
+ </button>
+ <ul class="dropdown-menu">
+ <li><a href="http://www.gentoo.org/" title="Main Gentoo website"><span class="fa fa-home fa-fw"></span> gentoo.org</a></li>
+ <li><a href="http://wiki.gentoo.org/" title="Find and contribute documentation"><span class="fa fa-file-text fa-fw"></span> Wiki</a></li>
+ <li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li>
+ <li><a href="http://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span> Forums</a></li>
+ <li><a href="http://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span> Packages</a></li>
+ <li class="divider"></li>
+ <li><a href="http://overlays.gentoo.org/" title="Collaborate on maintaining packages"><span class="fa fa-code-fork fa-fw"></span> Overlays</a></li>
+ <li><a href="http://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span> Planet</a></li>
+ <li><a href="http://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
+ <li><a href="http://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
+ <li class="divider"></li>
+ <li><a href="http://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-tasks fa-fw"></span> Infra Status</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="logo">
+ <img src="{{ site.cdnurl }}/site-logo.png" data-at2x="{{ site.cdnurl }}/site-logo@2x.png" alt="Gentoo Linux Logo"/>
+ {% if page.sitelabel %}<span class="site-label">{{ page.sitelabel }}</span>{% endif %}
+ </div>
+ </div>
+ </div>
+ </div>
+ <nav class="tyrian-navbar" role="navigation">
+ <div class="container">
+ <div class="row">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ </div>
+ <div class="collapse navbar-collapse navbar-main-collapse">
+ <ul class="nav navbar-nav">
+ <li><a href="#">Home</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </nav>
+</header> \ No newline at end of file
diff --git a/_layouts/box.html b/_layouts/box.html
new file mode 100644
index 0000000..b76754c
--- /dev/null
+++ b/_layouts/box.html
@@ -0,0 +1,9 @@
+---
+layout: tyrian
+---
+<div class="jumbotron">
+ {% if page.boxicon %}<i class="{{ page.boxicon }}" style="color:#ccc;float:right;font-size:100pt;" id="box-icon"></i>{% endif %}
+ <h1 id="box-title">{{ page.boxtitle }}</h1>
+
+ {{ content }}
+</div> \ No newline at end of file
diff --git a/_layouts/tyrian.html b/_layouts/tyrian.html
new file mode 100644
index 0000000..6e38a76
--- /dev/null
+++ b/_layouts/tyrian.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ {% include head.html %}
+ <body>
+ {% include header.html %}
+
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ {{ content }}
+ </div>
+ </div>
+ </div>
+
+ {% include footer.html %}
+
+ <script src="{{ site.cdnurl }}/jquery.min.js"></script>
+ <script src="{{ site.cdnurl }}/bootstrap.min.js"></script>
+ <script src="{{ site.cdnurl }}/retina.min.js"></script>
+ {% if page.extrajs %}{{ page.extrajs }}{% endif %}
+ </body>
+</html> \ No newline at end of file
diff --git a/errors/400.html b/errors/400.html
new file mode 100644
index 0000000..d0ca73e
--- /dev/null
+++ b/errors/400.html
@@ -0,0 +1,11 @@
+---
+title: "Gentoo Linux — Error 400 (Bad Request)"
+layout: box
+boxtitle: "Bad Request <small>(400)</small>"
+boxicon: "fa fa-bomb"
+---
+<p><strong>Your client's request could not be processed.</strong></p>
+
+<hr>
+<p><small>Maybe something <em>is</em> wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=400">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/403.html b/errors/403.html
new file mode 100644
index 0000000..e05fb62
--- /dev/null
+++ b/errors/403.html
@@ -0,0 +1,12 @@
+---
+title: "Gentoo Linux — Error 403 (Forbidden)"
+layout: box
+boxtitle: "Forbidden <small>(403)</small></small>"
+boxicon: "fa fa-minus-circle"
+extrajs: "<script>jQuery(function($) { $('#y-r-u-reading-this').dblclick(function(){$('#box-title').html('Stop, Hammertime <small>(403)</small>'); $('#box-icon').removeClass('fa-minus-circle').addClass('fa-legal'); $(this).html('Collaborate, listen.')})});</script>"
+---
+<p id="y-r-u-reading-this"><strong>U can't touch this </strong>(oh-oh oh oh oh-oh-oh).</p>
+
+<hr>
+<p><small>Maybe something <em>is</em> wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=403">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/404.html b/errors/404.html
new file mode 100644
index 0000000..aaebf3d
--- /dev/null
+++ b/errors/404.html
@@ -0,0 +1,12 @@
+---
+title: "Gentoo Linux — Error 404 (Not Found)"
+layout: box
+boxtitle: "Not Found <small>(404)</small>"
+boxicon: "fa fa-question-circle"
+---
+<p><strong>We couldn't find the resource you were trying to request.</strong></p>
+
+<p>If you've followed a link <strong>on our websites</strong> that led here, please <a href="{{ site.contact }}">let us know</a> about the broken link.
+<hr>
+<p><small>Maybe something <em>is</em> wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=404">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/410.html b/errors/410.html
new file mode 100644
index 0000000..8a752c3
--- /dev/null
+++ b/errors/410.html
@@ -0,0 +1,13 @@
+---
+title: "Gentoo Linux — Error 410 (Gone)"
+layout: box
+boxtitle: "Gone <small>(410)</small>"
+boxicon: "fa fa-plane"
+---
+<p><strong>The resource you are trying to request does not exist anymore.</strong><br />
+Where it is now, we don't know.</p>
+
+<p>If you've followed a link <strong>on our websites</strong> that led here, please <a href="{{ site.contact }}">let us know</a> about the broken link.
+<hr>
+<p><small>Maybe something <em>is</em> wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=410">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/500.html b/errors/500.html
new file mode 100644
index 0000000..a4d6ba5
--- /dev/null
+++ b/errors/500.html
@@ -0,0 +1,13 @@
+---
+title: "Gentoo Linux — Error 500 (Internal Server Error)"
+layout: box
+boxtitle: "Internal Server Error <small>(500)</small>"
+boxicon: "fa fa-bomb"
+---
+<p><strong>Something bad happened while trying to serve your request.</strong></p>
+
+<p>Don't worry, we're likely already working on it. So, please try again later.</p>
+
+<hr>
+<p><small>Should the problem persist, there may be more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=500">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/502.html b/errors/502.html
new file mode 100644
index 0000000..1050465
--- /dev/null
+++ b/errors/502.html
@@ -0,0 +1,14 @@
+---
+title: "Gentoo Linux — Error 502 (Bad Gateway)"
+layout: box
+boxtitle: "Bad Gateway <small>(502)</small>"
+boxicon: "fa fa-bomb"
+---
+<p><strong>Something bad happened while trying to serve your request.</strong></p>
+
+<p>Don't worry, we're likely already working on it. So, please try again later.</p>
+<p>And yes, we'll be scolding the Gateway for being bad.</p>
+
+<hr>
+<p><small>Should the problem persist, there may be more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=502">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/503.html b/errors/503.html
new file mode 100644
index 0000000..79af81d
--- /dev/null
+++ b/errors/503.html
@@ -0,0 +1,15 @@
+---
+title: "Gentoo Linux — Error 503 (Service Unavailable)"
+layout: box
+boxtitle: "Service Unavailable <small>(503)</small>"
+boxicon: "fa fa-frown-o"
+---
+<p><strong>We couldn't fulfill your request at this time.</strong></p>
+
+<p>If you see this, we're either performing maintenance, or the service is overloaded.</p>
+
+<p>Please start frantically hitting <kbd>F5</kbd> again (a bit) later.</p>
+
+<hr>
+<p><small>Should the problem persist, there may be more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=503">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/504.html b/errors/504.html
new file mode 100644
index 0000000..c006f60
--- /dev/null
+++ b/errors/504.html
@@ -0,0 +1,14 @@
+---
+title: "Gentoo Linux — Error 504 (Gateway Timeout)"
+layout: box
+boxtitle: "Gateway Timeout <small>(504)</small>"
+boxicon: "fa fa-clock-o"
+---
+<p><strong>The application took too long to process your request.</strong></p>
+
+<p>Don't worry, we're likely already working on it. So, please try again later.</p>
+<p>Or, be less demanding. Computers have feelings, too, you know.</p>
+
+<hr>
+<p><small>Should the problem persist, there may be more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=504">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/default-vhost.html b/errors/default-vhost.html
new file mode 100644
index 0000000..a1a8e1f
--- /dev/null
+++ b/errors/default-vhost.html
@@ -0,0 +1,20 @@
+---
+title: "Gentoo Linux — Empty Page"
+layout: box
+boxtitle: "Empty Page"
+boxicon: "fa fa-file-excel-o"
+---
+<p><strong>There's no website here we could serve you. <i class="fa fa-frown-o"></i></strong></p>
+
+<h2 style="margin-top: 2em;">What could have happened?</h2>
+
+<p>You have entered the hostname directly.<br />
+ <small>To access our services, you must use the appropriate host names. See the <button type="button" class="btn btn-default" disabled="disabled"><span class="glyphicon glyphicon-globe"></span> gentoo.org Sites</button> menu in the top-right corner for proper links to our most important sites.</small>
+</p>
+<p>Your browser does not support <a href="http://en.wikipedia.org/wiki/Server_Name_Indication"><abbr title="Server Name Indication">SNI</abbr></a>.<br />
+ <small>If you just saw an SSL warning, this is likely the case. Older browsers like IE 8 on Windows XP don't understand SNI. You should consider upgrading your software.</small>
+</p>
+
+<hr>
+<p><small>Maybe something <em>is</em> wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+<p><a class="btn btn-primary" role="button" href="http://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=400">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/errors/index.html b/errors/index.html
new file mode 100644
index 0000000..62f8ff5
--- /dev/null
+++ b/errors/index.html
@@ -0,0 +1,17 @@
+---
+layout: tyrian
+---
+
+<h1 class="first-header">HTTP Error Pages</h1>
+
+<p>This directory contains HTTP Error Pages for generic use:</p>
+
+<div class="list-group">
+ <a href="400.html" class="list-group-item">400</a>
+ <a href="404.html" class="list-group-item">404</a>
+ <a href="410.html" class="list-group-item">410</a>
+ <a href="500.html" class="list-group-item">500</a>
+ <a href="502.html" class="list-group-item">502</a>
+ <a href="503.html" class="list-group-item">503</a>
+ <a href="504.html" class="list-group-item">504</a>
+</div> \ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..5aee8b3
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+---
+layout: tyrian
+---
+
+<h1 class="first-header">Static Tyrian Sites</h1>
+
+<p>This <a href="http://jekyllrb.com/">Jekyll</a> site helps generating static websites.</p>
+
+<div class="list-group">
+ <a href="errors/" class="list-group-item">HTTP Errors</a>
+ <a href="outages/" class="list-group-item">Infra Outages</a>
+</div> \ No newline at end of file
diff --git a/outages/2014-09-bytemark.html b/outages/2014-09-bytemark.html
new file mode 100644
index 0000000..5c7e0d5
--- /dev/null
+++ b/outages/2014-09-bytemark.html
@@ -0,0 +1,22 @@
+---
+title: "Gentoo Linux — Website unavailable"
+layout: box
+boxtitle: "Moving Day!"
+boxicon: "fa fa-truck"
+contact: "mailto:infra@gentoo.org"
+---
+<p><strong>The servers running the Gentoo website are moving homes tonight.</strong></p>
+
+<p>The awesome folks at Bytemark are doing their best to get our site back up as soon as possible.</p>
+
+<h2 style="margin-top: 2em;"><span class="glyphicon glyphicon-time"></span> In the meantime&hellip;</h2>
+<p>You can browse an archived version of our website from the <a href="http://www.archive.org">Internet Archive</a>:</p>
+<p>
+ <a class="btn btn-primary btn-lg" role="button" href="https://web.archive.org/web/20140828074816/http://www.gentoo.org/">Archived Gentoo website</a>
+ <a class="btn btn-primary btn-lg" role="button" href="https://web.archive.org/web/20140807184634/http://www.gentoo.org/doc/en/handbook/">Archived Gentoo Handbook</a>
+</p>
+<p>Or, use the <button type="button" class="btn btn-default btn-lg" disabled="disabled"><span class="glyphicon glyphicon-globe"></span> gentoo.org Sites</button> menu in the top-right corner of this page to visit our other websites.</p>
+
+<h2 style="margin-top: 2em;"><span class="glyphicon glyphicon-bullhorn"></span> Status updates</h2>
+<p>We'll publish any updates to the progress as we learn more on our <em>Infrastructure Status</em> website:</p>
+<p><a class="btn btn-primary btn-lg" role="button" href="http://infra-status.gentoo.org/#pk_campaign=outage&pk_kwd=201409-bytemark">Visit Infra Status</a></p> \ No newline at end of file
diff --git a/outages/index.html b/outages/index.html
new file mode 100644
index 0000000..2b6ae43
--- /dev/null
+++ b/outages/index.html
@@ -0,0 +1,9 @@
+---
+layout: tyrian
+---
+
+<h1 class="first-header">Outage Information Pages</h1>
+
+<p>This directory contains custom outage information pages used for longer outages of important sites.</p>
+
+<p>(no listing available)</p> \ No newline at end of file