@@ -1,8 +1,9 @@
11{% extends "base.html" %}
22{% block title %} Updates {% endblock title %}
3+{% block bodyclasses %}class="updates"{% endblock bodyclasses %}
34{% block content %}
45<!-- header -->
5−<nav class="mt6">
6+<nav class="mt6 full-ns fourth-1-md fourth-1-lg">
67 <a class="gray3" href="/">Urbit</a>
78 <span class="gray3"> / </span>
89 <a href="/updates">
@@ -11,23 +12,40 @@
1112 {% include "partials/navigation-search.html" %}
1213</nav>
1314<!-- content -->
14− <article class="mt6 mb6 post-list">
15+ <main class="mt6 mb6 full-ns c4-10-lg">
1516 <h1 class="mb8">Updates</h1>
16− <ul class="posts">
1717 {% set posts = get_section(path="updates/_index.md") %}
18− {% for page in posts.pages %}
19− <li class="mb6 mt6">
20− <h2 class="mb1"><a class="bb0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
21− <p class="mb2 mt2">{{ page.description }}</p>
22− <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
23− <span class="mono f5">
24− <a class="mono f5 ml2" href="/updates">
25− updates
26− </a>
27− {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
28− </span>
29− </li>
18+ {% for page in posts.pages | slice (end=1) %}
19+ <article class="mt6 mb6">
20+ <h1>{{ page.title }}</h1>
21+ <!-- body -->
22+ {{ page.content | safe }}
23+ {% if page.extra.author %}
24+ <span class="mt3" rel="author"> {{ page.extra.author }} </span>
25+ {% if page.extra.ship %}
26+ <address class="mono">{{ page.extra.ship }}</address>
27+ {% endif %}
28+ {% if page.date %}
29+ <time class="mono block f5">~{{page.date | date(format="~%Y.%-m.%-d") }}</time>
30+ {% endif %}
31+ {% endif %}
32+ </article>
3033 {% endfor %}
31− </ul>
32− </article>
34+ <h2 class="mv6">More Updates</h2>
35+ <ul class="posts">
36+ {% for page in posts.pages | slice (start=1) %}
37+ <li class="mb6 mt6">
38+ <h2 class="mb1"><a class="bb0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
39+ <p class="mb2 mt2">{{ page.description }}</p>
40+ <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
41+ <span class="mono f5">
42+ <a class="mono f5 ml2" href="/updates">
43+ updates
44+ </a>
45+ {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
46+ </span>
47+ </li>
48+ {% endfor %}
49+ </ul>
50+ </main>
3351{% endblock content %}