Skip to content

Commit dd0d1d2

Browse files
Add link to meeting minutes topic scraper on all minutes pages (#1288)
* Add link to meeting minutes topic scraper on all minutes pages * Only include date in "last updated on" Co-authored-by: Rémi Bétin <[email protected]> --------- Co-authored-by: Rémi Bétin <[email protected]>
1 parent b6e4b13 commit dd0d1d2

File tree

6 files changed

+27
-1
lines changed

6 files changed

+27
-1
lines changed

_includes/minutes/fallback.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Expected input:
1010
<p>Minutes listings are temporarily unavailable. Sorry for the inconvenience.</p>
1111
<p>
1212
For details of the current work, see an alternative view of
13-
<a href="https://www.w3.org/services/meeting-minutes?num=200&channels={{ site.data.minutes.groups[include.group] | join: ',' }}">meeting minutes</a>.
13+
{% include_cached minutes/services-link.liquid group=include.group %}.
1414
</p>
1515

1616
{% include box.html type="end" %}

_includes/minutes/minutes.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Inputs:
1212
</p>
1313

1414
{%- if site.data.minutes[include.group] -%}
15+
{% include_cached minutes/more-recent.liquid group=include.group %}
16+
1517
{%- assign current_year = 0 -%}
1618
{% for minutes in site.data.minutes[include.group] %}
1719
{%- capture date %}{{ minutes[0] | truncate: 10, "" }}{% endcapture -%}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{%- comment %}
2+
Renders paragraph indicating time of last update, and
3+
linking to meeting minutes topic scraper for more recent minutes.
4+
5+
Expected input:
6+
- group - name of group, matching a key in _data/minutes/groups.json
7+
{% endcomment -%}
8+
9+
<p>
10+
This page was last updated on {{ site.time | date: "%e %B %Y" }}.
11+
For more recent meetings, see an alternative view of
12+
{% include_cached minutes/services-link.liquid group=include.group %}.
13+
</p>

_includes/minutes/resolutions.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Inputs:
1212
</p>
1313

1414
{%- if site.data.minutes[include.group] -%}
15+
{% include_cached minutes/more-recent.liquid group=include.group %}
16+
1517
{%- assign current_year = 0 -%}
1618
{% for minutes in site.data.minutes[include.group] %}
1719
{%- unless minutes[1].resolutions.size %}{% continue %}{% endunless -%}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{%- comment %}
2+
Renders link to meeting minutes topic scraper.
3+
4+
Expected input:
5+
- group - name of group, matching a key in _data/minutes/groups.json
6+
{% endcomment -%}
7+
<a href="https://www.w3.org/services/meeting-minutes?num=200&channels={{ site.data.minutes.groups[include.group] | join: ',' }}">meeting minutes</a>

_includes/minutes/topics.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Inputs:
1212
</p>
1313

1414
{%- if site.data.minutes[include.group] -%}
15+
{% include_cached minutes/more-recent.liquid group=include.group %}
16+
1517
{%- assign current_year = 0 -%}
1618
{% for minutes in site.data.minutes[include.group] %}
1719
{%- capture date %}{{ minutes[0] | truncate: 10, "" }}{% endcapture -%}

0 commit comments

Comments
 (0)