-
Notifications
You must be signed in to change notification settings - Fork 53
/
community.html
65 lines (65 loc) · 2.18 KB
/
community.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
layout: default
title: "Community"
css: community
---
<div class="container body border-top pt-4">
<main class="main px-lg-4">
{% for category in site.data.community-links %}
<div>
<h5 class="border-bottom">{{ category[0] }}</h5>
{% if category[1].description %}
<div class="ps-3">
{{ category[1].description | liquify | markdownify }}
</div>
{% endif %}
{% if category[1].items %}
<dl class="ps-3">
{% for l in category[1].items %}
<dt>
{% if l.link %}
<a href="{{ l.link | liquify | relative_url }}">{{l.name}}</a>
{% else %}
{{l.name}}
{% endif %}
</dt>
<dd>
{{ l.description | liquify | markdownify }}
</dd>
{% endfor %}
</dl>
{% endif %}
<dl class="ps-3">
{% for link in category[1] %}
<dt>
{% if link.link %}
<a href="{{ link.link | liquify | relative_url }}">{{link.name}}</a>
{% else %}
{{link.name}}
{% endif %}
</dt>
<dd>
{{ link.description | liquify | markdownify }}
{% if link.items %}
<dl class="ps-3">
{% for l in link.items %}
<dt>
{% if l.link %}
<a href="{{ l.link | liquify | relative_url }}">{{l.name}}</a>
{% else %}
{{l.name}}
{% endif %}
</dt>
<dd>
{{ l.description | liquify | markdownify }}
</dd>
{% endfor %}
</dl>
{% endif %}
</dd>
{% endfor %}
</dl>
</div>
{% endfor %}
</main>
</div>