blob: 091d7de23cc48101dd80e4f72fb73264c6d52b54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{% extends "base.html" %}
{% block title %}{{ section.title | lower }} · {{ config.title }}{% endblock title %}
{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %}
{% block content %}
<article class="prose">
<h1 class="page-label">{{ section.title }}</h1>
{{ section.content | safe }}
</article>
{% if section.pages %}
<ul class="plainlist">
{% for page in section.pages %}
<li>
<span class="pl-main">
<a class="pl-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
{% if page.description %}<span class="pl-desc">— {{ page.description }}</span>{% endif %}
</span>
{% if not section.extra.plain %}
<span class="pl-links">
{% if page.extra.appstore %}<a class="pl-link" href="{{ page.extra.appstore }}">app store →</a>
{% else %}<span class="pl-link pl-link-off" aria-disabled="true">app store — soon</span>{% endif %}
{% if page.extra.link %}<a class="pl-link" href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} →</a>{% endif %}
</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock content %}
|