-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpr.html
69 lines (61 loc) · 2.09 KB
/
pr.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
66
67
68
69
---
layout: default
---
{% capture components %}
{%- for comp in page.components -%}
<a href="/meetings-components/#{{comp}}">{{comp}}</a>{% unless forloop.last %}, {% endunless %}
{%- endfor -%}
{% endcapture %}
{% capture authors %}
{%- for author in page.authors -%}
<a class="author" href="/meetings-authors/#{{author}}">{{author}}</a>
<a href="https://github.com/{{ author }}"><i class="fa fa-github"></i></a>
{% unless forloop.last %}, {% endunless %}
{%- endfor -%}
{% endcapture %}
<section>
<div class="post-content">
<h1>{{ page.title }} ({{components}})</h1>
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
{% if page.status == "upcoming" %}
{{ site.meeting_time }}
in
{{ site.meeting_location }}.
{%- endif -%}
</time>
{% if page.pr %}
<p style="font-weight:bold">
<a href="https://github.com/lightningdevkit/rust-lightning/pull/{{ page.pr }}">
https://github.com/lightningdevkit/rust-lightning/pull/{{ page.pr }}
</a>
</p>
{% elsif page.link %}
<p style="font-weight:bold">
<a href="{{ page.link }}">
{{ page.link }}
</a>
</p>
{% endif %}
<p class="host">
Host:
<a class="host" href="/meetings-hosts/#{{ page.host }}">{{ page.host }}</a>
<a href="https://github.com/{{ page.host }}"><i class="fa fa-github"></i></a>
{% unless authors == empty %}
-
<span class="author">
PR author{% if page.authors.size > 1 %}s{% endif %}: {{authors}}
</span>
{%- endunless -%}
</p>
{% if page.status == "past" %}
{% if page.commit %}
<p><em>The PR branch HEAD was <a href="https://github.com/lightningdevkit/rust-lightning/tree/pr{{ page.id | remove_first: "/#" }}/">{{ page.commit }}</a> at the time of this review club meeting.</em><p>
{%- endif -%}
{%- endif -%}
<p>
{{ content }}
</p>
</div>
</section>