on c2a28fa help sign in
urbit.org/templates/list.html
49 lines 1.9 kB history raw
1{% extends "base.html" %}
2{% block title %}
3 <meta name="og:title" content="{{ section.title }} - {{ config.title }}">
4 <title>{{ section.title }} - {{ config.title }}</title>
5{% endblock title %}
6{% block description %}
7 <meta name="og:description" content="Directory for {{ section.title }}.">
8 <meta name="description" content="Directory for {{ section.title }}.">
9{% endblock description %}
11{% block image %}
12 <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
13{% endblock image %}
15{% block content %}
16<!-- header -->
17<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
18 <a class="gray3" href="/">Urbit</a>
19 <span class="gray3"> / </span>
20 <a href="/{{ section.components[0] }}{% if section.components[2] %}/{{ section.components[1] }}{% endif %}">
21 {{ section.title }}
22 </a>
23 {% include "partials/navigation-search.html" %}
24 <a href="using/install/">Install / Get Started -></a>
25</nav>
26<!-- content -->
27<article class="mt4 mb4 c1-13 c4-12-lg measure-wide">
28 <ul class="posts">
29 {% set posts = get_section(path=section.relative_path) %}
30 {% for page in posts.pages %}
31 <li class="mb4">
32 <h2 class="f4 fw4 mt0 mb0"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
33 <p class="mt0">{{ page.description }}</p>
34 <span class="mono f5">
35 {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
36 </span>
37 </li>
38 {% endfor %}
39 {% for s in posts.subsections %}
40 {% set subsection = get_section(path=s) %}
41 <li class="mb4">
42 <h2 class="f4 fw4 mt0 mb0"><a class="bb-0" href="{{ subsection.permalink }}">{{ subsection.title }}</a></h2>
43 <p class="mt0">{{ subsection.description }}</p>
44 </li>
45 {% endfor %}
46 </ul>
47</article>
48{% include "partials/footer.html" %}
49{% endblock content %}