34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
<div class="list-groups">
|
|
{% for content in data[1] %}
|
|
<div class="list-group col-md-6" title="{{ content.level }}">
|
|
<table class="table-cv list-group-table">
|
|
<tbody>
|
|
<tr>
|
|
{% if content.icon %}
|
|
<td class="list-group-category-icon">
|
|
<i class="{{ content.icon }}"></i>
|
|
</td>
|
|
{% else %}
|
|
<td class="list-group-category-icon"></td>
|
|
{% endif %}
|
|
<!-- Calculate colspan number for category title -->
|
|
{% assign i = 1 %}
|
|
{% for item in content.items %}
|
|
{% assign i = i | plus: 1 %}
|
|
{% endfor %}
|
|
<td colspan="{{ i }}" class="list-group-category">{{ content.name }}</td>
|
|
</tr>
|
|
{% for item in content.keywords %}
|
|
<tr>
|
|
<td></td>
|
|
<td class="list-group-name">
|
|
<b>{{ item }}</b>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|