on 66c19ee help sign in
52 lines 1.5 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 %}
7{% block description %}
8 <meta name="og:description" content="From the Urbit documentation.">
9 <meta name="description" content="From the Urbit documentation.">
10{% endblock description %}
12{% block image %}
13 <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
14{% endblock image %}
16{% block content %}
17<!-- header -->
18<!-- content -->
19{% include "partials/navigation-docs.html" %}
20<article class="mt4 mb6 full c4-11-lg">
21<!-- header -->
22<h1>{{ section.title }}</h1>
23<!-- body -->
25<div class="measure-wide mb4">
26{{ section.content | safe }}
28{% set lessons = get_section(path="docs/tutorials/hoon/_index.md") %}
30<ul>
31 <h2 class="mv4">Chapter 1</h2>
32{% for lesson in lessons.pages %}
33 {% if lesson.title is starting_with("1") %}
34 <li><a href="{{lesson.permalink}}">{{lesson.title}}</a></li>
35 {% endif %}
36{% endfor %}
37 <h2 class="mv4">Chapter 2</h2>
38 {% for lesson in lessons.pages %}
39 {% if lesson.title is starting_with("2") %}
40 <li><a href="{{lesson.permalink}}">{{lesson.title}}</a></li>
41 {% endif %}
42{% endfor %}
44<br/>
45{% for lesson in lessons.pages %}
46 {% if (lesson.title is not starting_with("2")) and (lesson.title is not starting_with("1")) %}
47 <li><a href="{{lesson.permalink}}">{{lesson.title}}</a></li>
48 {% endif %}
49{% endfor %}
50</ul>
51</div>
52{% endblock content %}