@@ -0,0 +1,56 @@
1+{% extends "base.html" %}
2+{% block title %}
3+ {{ page.title }}
4+{% endblock title %}
5+
6+{% block description %} {{ page.description }} {% endblock description %}
7+
8+{% block bodyclasses %}
9+ class="essay
10+ {% if page.extra.classes %}
11+ {{ page.extra.classes }}
12+ {% else %}
13+ bg-white
14+ {% endif %}"
15+{% endblock bodyclasses %}
16+
17+{% block content %}
18+<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl fixed-xl">
19+ <a class="gray3" href="/">Urbit</a>
20+ <span class="gray3"> / </span>
21+ <a class="section" href="/{{ page.components[0] }}">
22+ {% set sectionname = get_section(path=page.components[0] ~ "/_index.md") %}
23+ {{ sectionname.title }}
24+ </a>
25+
26+ {% include "partials/navigation-search.html" %}
27+ {% set posts = get_section(path="understanding-urbit/_index.md") %}
28+ {% for directorypage in posts.pages %}
29+ {% if directorypage.title == page.title %}
30+ <li class="dn mw5-xl mw5-l db-xl page-indiced mv2"><a class="fw6" href="{{directorypage.permalink}}">{{directorypage.title}}</a></li>
31+ {% else %}
32+ <li class="dn mw5-xl mw5-l db-xl page-indiced mv2"><a href="{{directorypage.permalink}}">{{directorypage.title}}</a></li>
33+ {% endif %}
34+ {% endfor %}
35+</nav>
36+ <h1 class="mb4 full mt4 c4-10-lg">{{ page.title }}</h1>
37+ {% if page.extra.author %}
38+ <span class="dib full c4-10-lg" rel="author"> {{ page.extra.author }}
39+ {% if page.extra.ship %}
40+ <address class="dib fw4 ml2 mono">{{ page.extra.ship }}</address>
41+ {% endif %}
42+ </span>
43+ {% if page.date %}
44+ <time class="mono full c4-10-lg db mv2 gray0 f5">{{page.date | date(format="~%Y.%-m.%-d") }}</time>
45+ {% endif %}
46+{% endif %}
47+ {% if page.extra.readtime %}
48+ <span class="dib mono full c4-10-lg{% if page.date %} ml2{% endif %} gray2 f5">{{ page.reading_time }}m read</span>
49+ {% endif %}
50+
51+ <article class="mb4 full grid12">
52+ {{ page.content | safe }}
53+
54+ {% include "partials/pagination.html" %}
55+ </article>
56+{% endblock content %}