@@ -1,8 +1,9 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2{% block title %} Updates {% endblock title %}
2{% block title %} Updates {% endblock title %}
3+{% block bodyclasses %}class="updates"{% endblock bodyclasses %}
3{% block content %}
4{% block content %}
4<!-- header -->
5<!-- header -->
5−<nav class="mt6">
6+<nav class="mt6 full-ns fourth-1-md fourth-1-lg">
6 <a class="gray3" href="/">Urbit</a>
7 <a class="gray3" href="/">Urbit</a>
7 <span class="gray3"> / </span>
8 <span class="gray3"> / </span>
8 <a href="/updates">
9 <a href="/updates">
@@ -11,23 +12,40 @@
11 {% include "partials/navigation-search.html" %}
12 {% include "partials/navigation-search.html" %}
13<!-- content -->
14<!-- content -->
14− <article class="mt6 mb6 post-list">
15+ <main class="mt6 mb6 full-ns c4-10-lg">
15 <h1 class="mb8">Updates</h1>
16 <h1 class="mb8">Updates</h1>
17 {% set posts = get_section(path="updates/_index.md") %}
17 {% set posts = get_section(path="updates/_index.md") %}
18− {% for page in posts.pages %}
18+ {% for page in posts.pages | slice (end=1) %}
19− <li class="mb6 mt6">
19+ <article class="mt6 mb6">
20− <h2 class="mb1"><a class="bb0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
20+ <h1>{{ page.title }}</h1>
21− <p class="mb2 mt2">{{ page.description }}</p>
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>
22− <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
29+ <time class="mono block f5">~{{page.date | date(format="~%Y.%-m.%-d") }}</time>
23− <span class="mono f5">
30+ {% endif %}
24− <a class="mono f5 ml2" href="/updates">
31+ {% endif %}
25− updates
32+ </article>
27− {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
30 {% endfor %}
33 {% endfor %}
34+ <h2 class="mv6">More Updates</h2>
36+ {% for page in posts.pages | slice (start=1) %}
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">
45+ {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
32− </article>
50+ </main>
33{% endblock content %}
51{% endblock content %}