summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-18 14:14:30 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-18 14:14:30 +0200
commitb944832d593683e54c216d23bb493b302b521e29 (patch)
tree6c4376d642e8245a6a41e44d4a8e090a481185bb /src
parent80e38791f41cf326e43946e306157daa7d7e08e1 (diff)
downloadtheos-website-b944832d593683e54c216d23bb493b302b521e29.tar.xz
convert root page to reST like ~kyrias/
Diffstat (limited to 'src')
-rw-r--r--src/.well-known/keybase.txt93
-rw-r--r--src/index.html46
-rw-r--r--src/index.rst40
-rw-r--r--src/sitemap1.xml3
-rw-r--r--src/style.css17
-rw-r--r--src/templates/layout.html33
-rw-r--r--src/templates/page.html12
7 files changed, 191 insertions, 53 deletions
diff --git a/src/.well-known/keybase.txt b/src/.well-known/keybase.txt
new file mode 100644
index 0000000..2d23d7c
--- /dev/null
+++ b/src/.well-known/keybase.txt
@@ -0,0 +1,93 @@
+==================================================================
+https://keybase.io/johannes
+--------------------------------------------------------------------
+
+I hereby claim:
+
+ * I am an admin of https://theos.kyriasis.com
+ * I am johannes (https://keybase.io/johannes) on keybase.
+ * I have a public key with fingerprint 5134 EF9E AF65 F95B 6BB1 608E 50FB 9B27 3A9D 0BB5
+
+To claim this, I am signing this object:
+
+{
+ "body": {
+ "client": {
+ "name": "keybase.io node.js client",
+ "version": "0.4.11"
+ },
+ "key": {
+ "fingerprint": "5134ef9eaf65f95b6bb1608e50fb9b273a9d0bb5",
+ "host": "keybase.io",
+ "key_id": "50FB9B273A9D0BB5",
+ "uid": "04ed91b0d142316f11dbc0bd0a8b7700",
+ "username": "johannes"
+ },
+ "merkle_root": {
+ "ctime": 1403779276,
+ "hash": "f60a7df50b9b9ae7aa9e1fdd2b2e7d4ec613f5b7d0f5234acd4a815c79cc1fac0aded0398ad7c859751817ae7164a9b99a56001485aca993ee561186ae71b6ca",
+ "seqno": 23792
+ },
+ "service": {
+ "hostname": "theos.kyriasis.com",
+ "protocol": "https:"
+ },
+ "type": "web_service_binding",
+ "version": 1
+ },
+ "ctime": 1403779384,
+ "expire_in": 157680000,
+ "prev": "4d6affa5d2fe05944c143a6c2c6cbd874d6a326f2e3ab54eff44ea1e8fb77801",
+ "seqno": 20,
+ "tag": "signature"
+}
+
+with the aforementioned key, yielding the PGP signature:
+
+-----BEGIN PGP MESSAGE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+owFVkntUE2caxoNcpGFZRKyLFltM1WibxpnMLRNREVMvLC2iHqg34ly+IRFIIBNE
+BCpeUKmiHCqoB6hSKVpa9KSKSGA9RVyVS8NFqQQbXEUFqtgiILhY2RmPe047f83M
++3uf73m+983xdpVIXVaNFcg1RV4VLo19tGTNdy/UqTLaxKbINKkyJs4AjBbxzUjF
+A5lGFgtSaIoHSoMp0GhigXILH/iGUci2AjNvMBkFClKiShiWpStEXuzmDMYYYE4w
+G0QxGQYjKOBIQHE4xpEYjdM0jENqgEEcTdIqAqFIFqJpTNDUm3jLX46VvdbUGVhR
+B1oWQoYI/BJSC4WEiHzS6wKEApaEaYiFURUC4xwMszQD0SxEqWmCgCAR5IH5TaYt
+Jj1lNAJe9BsPzLFxQGc2mV6nZiwGEYFRCCEIUkXggiOK1wtNHA5RBMthkOCYpABB
+USSAOZZV0SpAsChgcBjhMJpgIQ5TISjFsCilhjGGIBkG5igGoljAQgippliCUWMk
+gcFqmBCEYBylBEmSwnAIglE1RjEUSSIAYDgMq3GRoHGGEiLwINFokmlUiOAsXfw0
+bzUwQLQt3tqbcBY9MPHK2BSzgeINvJIxxQudCWaTxcSY4oS63mJJ4DVidEtKAqgQ
+/iQDWvdGS0cbjKwwuj8PFxbQv14LokYVMrAtwWAGOoNIYASuhoRHPAhsFSRRFqc4
+jsJYFQcgjERRBkYRCmdUDM7QrJoQ64gK51QAoWhM2A0ORQEFAzUnjEsNwX8KK4ha
+qBhBkzfEGClLkhnI0rPcAtwkLlKJh/sEcX0l0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K6
+2O5sdH+36bB0n9/x3NlnQ+sXOuO+2H7m+ozvq6jk78z/KS/svLRzzoopR16URhky
+Stwi1JunNDiXrG6L9m8/mXst7sPmxBk9JcVHbLMKiKDP4LBfS1l/U43Keq8ATnMW
+ba7JXdH+tjy40zdITl0vWZFKlrs3R79T8VmpV8jIH/PGbDWfr75SEo2Ou0v83D1U
+lhzMdVpQwMt/BF2zVpbterS8v8/Gez2+by0byx4aWrCobFp9bb+Pc8OIVVpsf3gn
+1uXHmMhL1uBCbc2KgQJ6bl9Jnd/8nV+tee9Z04y8/E7saMqhjgsJe9TfTFqqmxfb
+PLrsy/4JN+YvWuCf/sflgFNjfakO564dNyVXtf8D
+=BczO
+-----END PGP MESSAGE-----
+
+And finally, I am proving ownership of this host by posting or
+appending to this document.
+
+View my publicly-auditable identity here: https://keybase.io/johannes
+
+==================================================================
diff --git a/src/index.html b/src/index.html
deleted file mode 100644
index cdc113a..0000000
--- a/src/index.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>theos/ | theos.kyriasis.com</title>
-%include partials/meta.html
-</head>
-<body itemscope itemtype="http://schema.org/WebPage">
- <header>
-%include partials/nav.html
- <h1>theos/</h1>
- </header>
-
- <article id="content">
- <h3>Welcome to theos.kyriasis.com</h3>
-
- <p>Theos is a server under the kyriasis domain owned and operated by <a href="https://theos.kyriasis.com/~kyrias/about.html">kyrias</a>, who also owns kyriasis.com itself. (Albeit not the server that the A/AAAA records on kyriasis.com points to for historical reasons.)
- </p>
-
- <h3>Services running on theos:</h3>
- <ul>
- <li>HTTP services using the <a href="http://nginx.org/">NGINX</a> HTTP server</li>
- <li>An LDAP tree running on <a href="http://www.openldap.org/">OpenLDAP</a></li>
- <li>Email services using <a href="https://www.opensmtpd.org/">OpenSMTPD</a> and <a href="http://www.dovecot.org/">Dovecot</a></li>
- <li>A Kerberos realm using the <a href="http://web.mit.edu/kerberos/">MIT Kerberos</a> implementation and the OpenLDAP backend</li>
- <li>Git hosting using a combination of <a href="http://git.zx2c4.com/cgit/about/">cgit</a> and a slighly modified version of <a href="http://gitolite.com">gitolite</a> and OpenSSH for Kerberos authentication</li>
- </ul>
-
- <p>All users with shell access have the option of getting an email under the kyriasis.com domain, web hosting under the theos.kyriasis.com domain or possibly under a custom subdomain, and public git hosting. (All git-push access requites using Kerberos for ssh authentication.)
- </p>
- </article>
-
- <article id="users">
- <h3>User pages</h3>
- <ul>
- <li><a href="/~kyrias">kyrias</a></li>
- <li><a href="/~arch-tk">Arch-TK</a></li>
- </ul>
- </article>
-
- <p class="info-right">Last updated <time itemprop="dateModified" datetime="2014-10-12">2014-10-12</time></p>
- <p class="info-right botborder"><a rel="author" href="https://theos.kyriasis.com/~kyrias/about.html">Johannes Löthberg</a></p>
-
-%include partials/footer.html
-</body>
-</html>
diff --git a/src/index.rst b/src/index.rst
new file mode 100644
index 0000000..5de7122
--- /dev/null
+++ b/src/index.rst
@@ -0,0 +1,40 @@
+.. frontmatter
+ title: theos/
+ date: 2014-10-18
+ author: Johannes Löthberg
+ author_link: ~kyrias/about.html
+
+Welcome to theos.kyriasis.com
+-----------------------------
+
+Theos is a server under the kyriasis domain owned and operated by kyrias_, who also owns kyriasis.com itself. (Albeit not the server that the A/AAAA records on kyriasis.com points to for historical reasons.)
+
+Services running on theos:
+------------------------------
+
+* HTTP services using the NGINX_ HTTP server
+* An LDAP tree running on OpenLDAP_
+* Email services using OpenSMTPD_ and Dovecot_
+* A Kerberos realm using the `MIT Kerberos`_ implementation and the OpenLDAP backend
+* Git hosting using a combination of cgit_ and a slighly modified version of gitolite_ and OpenSSH for Kerberos authentication
+
+All users with shell access have the option of getting an email under the kyriasis.com domain, web hosting under the theos.kyriasis.com domain or possibly under a custom subdomain, and public git hosting. (All git-push access requites using Kerberos for ssh authentication.)
+
+User pages
+----------
+
+.. role:: raw-html(raw)
+ :format: html
+
+* kyrias_
+* Arch-TK_
+
+.. _kyrias: https://theos.kyriasis.com/~kyrias/
+.. _Arch-TK: https://theos.kyriasis.com/~arch-tk/
+.. _NGINX: http://nginx.org/
+.. _OpenLDAP: http://www.openldap.org/
+.. _OpenSMTPD: https://www.opensmtpd.org/
+.. _Dovecot: http://www.dovecot.org/
+.. _MIT Kerberos: http://web.mit.edu/kerberos/
+.. _cgit: http://git.zx2c4.com/cgit/about/
+.. _gitolite: http://gitolite.com
diff --git a/src/sitemap1.xml b/src/sitemap1.xml
index abffc65..83cdf95 100644
--- a/src/sitemap1.xml
+++ b/src/sitemap1.xml
@@ -6,4 +6,7 @@
<url>
<loc>http://git.kyriasis.com</loc>
</url>
+ <url>
+ <loc>https://theos.kyriasis.com:6697/</loc>
+ </url>
</urlset>
diff --git a/src/style.css b/src/style.css
index 13a5255..07d8ad2 100644
--- a/src/style.css
+++ b/src/style.css
@@ -53,7 +53,7 @@ header h1 {
color: #222;
}
-#content > p:first-of-type:first-letter {
+#welcome-to-theos-kyriasis-com > p:first-of-type:first-letter {
float: left;
color: #903;
font-size: 3rem;
@@ -64,31 +64,34 @@ header h1 {
font-family: 'Georgia';
}
@media (max-width: 767px) {
- #content > p:first-of-type:first-letter {
+ #welcome-to-theos-kyriasis-com > p:first-of-type:first-letter {
padding-top: 0.3rem;
padding-right: 0.2rem;
font-size: 2.7rem;
}
}
-#users h3 {
+#user-pages h1 {
margin: 0 0 -0.5rem 0;
}
-#users ul {
+#user-pages ul {
list-style-type: none;
padding: 0 0 0 0.5rem;
}
-
-#users ul li {
+#user-pages ul li {
padding-bottom: 0.25rem;
}
-.info-right {
+p#last-upd, p#author {
font-size: 14px;
text-align: right;
margin: 0;
}
+div.section h1 {
+ font-size: 19px;
+}
+
.botborder {
border-bottom: 0.15rem;
border-bottom-style: dotted;
diff --git a/src/templates/layout.html b/src/templates/layout.html
new file mode 100644
index 0000000..22625f5
--- /dev/null
+++ b/src/templates/layout.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>{{ title }}</title>
+ <link href="style.css" rel="stylesheet">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="author" content="Johannes Löthberg">
+
+{% block head %}{% endblock %}
+</head>
+<body itemscope itemtype="http://schema.org/WebPage">
+<header>
+ <nav>
+ <ul>
+ <li><a href="https://theos.kyriasis.com/">theos/</a></li>
+ <li><a href="http://git.kyriasis.com/">cgit/</a></li>
+ <li><a href="https://theos.kyriasis.com:6697/">znc/</a></li>
+ </ul>
+ </nav>
+ <h1>{{ header }}</h1>
+</header>
+
+{% block content %}{% endblock %}
+<footer>
+ <div id="foot-left">
+ <p id="copy">
+ © <span itemprop="copyrightYear">2014</span>
+ by <span itemprop="copyrightHolder">Johannes Löthberg</span>
+ </p>
+</footer>
+</body>
+</html>
diff --git a/src/templates/page.html b/src/templates/page.html
new file mode 100644
index 0000000..3c5d29a
--- /dev/null
+++ b/src/templates/page.html
@@ -0,0 +1,12 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+ <article id="{{ page.article_id }}" class="botborder" itemprop="mainContentOfPage">
+
+ {{ page.body }}
+
+ <p id="last-upd">Last updated <time itemprop="dateModified" datetime="{{ page.date }}">{{ page.date }}</time></p>
+ <p id="author"><a rel="author" href="{{ page.author_link }}">{{ page.author }}</a></p>
+
+ </article>
+{% endblock content %}