forked from bitcoin-core-review-club/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meetings-components.html
55 lines (51 loc) · 1.65 KB
/
meetings-components.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
---
layout: default
title: Meetings by Component
permalink: /meetings-components/
---
{% capture raw_components %}
{%- for meeting in site.posts -%}
{%- if meeting.layout == 'pr' -%}
{%- if meeting.components == empty -%}
{% include ERROR_92_MISSING_TOPIC_CATEGORY %}
{%- endif -%}
{%- for component in meeting.components -%}
{{component}}|
{%- endfor -%}
{%- endif -%}
{%- endfor -%}
{% endcapture %}
{% assign components = raw_components | split: "|" | sort_natural | uniq %}
<div class="Home">
<h2 class="Home-posts-title">Meetings</h2>
<p>{% include linkers/meetings-pages.md %}</p>
{% for component in components %}
<div id="{{component}}">
<h3 class="meetings-index-section">{{component}}</h3>
<table style="padding-left: 1.5em">
{% for post in site.posts %}
{% if post.components contains component %}
<div class="Home-posts-post">
<tr>
<td class="Home-posts-post-date">
{{ post.date | date_to_string }}
</td>
<td class="Home-posts-post-arrow">
»
</td>
<td>
<a class="Home-posts-post-title" href="{{ post.url }}">{% if post.pr %}#{{ post.pr }} {% endif %}{{ post.title }}</a>
<span class="host">
hosted by
<a class="host" href="/meetings-hosts/#{{post.host}}">{{ post.host }}</a>
</span>
</td>
</tr>
</div>
{%- endif -%}
{% endfor %}
</table>
</div>
{% endfor %}
</div>
<br>