forked from workflowhub-eu/about
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglossary.html
More file actions
34 lines (34 loc) · 1.25 KB
/
glossary.html
File metadata and controls
34 lines (34 loc) · 1.25 KB
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
{%- if include.tag %}
{%- assign tools = site.data.glossary | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %}
{%- else %}
{%- assign tools = site.data.glossary | add_related_pages | sort_natural: "name" %}
{%- endif %}
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
{%- unless tools.size == 0 or tools == nil %}
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
<div class="table-responsive mt-4 mb-5">
<table class="tooltable table display">
<thead>
<tr class="text-nowrap">
<th>Term</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{%- for tool in tools %}
<tr>
{% if tool.url %}
<td><a href="{{tool.url}}">{{tool.title}}</a></td>
{%- else %}
<td>{{tool.title}}</td>
{%- endif %}
{% if tool.description %}
<td>{{tool.description}}</td>
{%- endif %}
</tr>
{%- endfor %}
</tbody>
</table>
</div>
{%- endunless %}
<div id="skip-tool-table"></div>