commit: fa24b34383a47c27d89e4ec4446ffe0179aedb7c
parent 5dd6be24fc9d30fa20f10c9d8dc8f683b1a45ea4
Author: William Pitcock <nenolod@dereferenced.org>
Date: Thu, 8 Nov 2018 01:13:55 -0600
add some stuff
Diffstat:
5 files changed, 62 insertions(+), 1 deletion(-)
diff --git a/_includes/nav.html b/_includes/nav.html
@@ -0,0 +1,22 @@
+<h2>Overview</h2>
+
+<ul>
+ <li><a href="{{ site.baseurl }}/index.html">Introduction</a></li>
+ <li><a href="{{ site.baseurl }}/overview.html">LitePub Overview</a></li>
+ <li><a href="{{ site.baseurl }}/ap-compat.html">LitePub and ActivityPub</a></li>
+</ul>
+
+<h2>Profiles</h2>
+
+<ul>
+ <li><a href="{{ site.baseurl }}/profiles.html">Profiles Overview</a></li>
+ <li><a href="{{ site.baseurl }}/profile/agent.html">LitePub Agent</a></li>
+ <li><a href="{{ site.baseurl }}/profile/relay.html">LitePub Relay</a></li>
+ <li><a href="{{ site.baseurl }}/profile/forwarder.html">LitePub Forwarder</a></li>
+</ul>
+
+<h2>Vocabulary</h2>
+
+<ul>
+ <li><a href="{{ site.baseurl }}/vocabulary.html">Vocabulary Overview</a></li>
+</ul>
diff --git a/_includes/nav.md b/_includes/nav.md
@@ -0,0 +1 @@
+## Nav
diff --git a/_layouts/default.html b/_layouts/default.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>{{ page_title | strip }}</title>
+ <link href="{{ site.baseurl }}/assets/css/main.css" rel="stylesheet">
+ </head>
+ <body>
+ <nav>
+ {% include nav.html %}
+ </nav>
+
+ <div class="content">
+ {% if page.title %}
+ <h1>{{ page.title }}</h1>
+ {% endif %}
+
+ {{ content }}
+ </div>
+ </body>
+</html>
diff --git a/assets/css/main.css b/assets/css/main.css
@@ -0,0 +1,18 @@
+body {
+ display: flex;
+ flex-direction: row;
+ font-family: sans-serif;
+ max-width: 100em;
+}
+
+nav {
+ flex: 1;
+ max-width: 20em;
+ border-right: 1px solid #999;
+ height: 100%;
+ margin-right: 1em;
+}
+
+.content {
+ flex: 2;
+}
diff --git a/index.md b/index.md
@@ -1,5 +1,4 @@
---
-title: "LitePub protocol suite"
---
# LitePub protocol suite