changed wrong loop variable (#3342)
This commit is contained in:
parent
d7e1feb46b
commit
b72ceeedc9
@ -11,13 +11,14 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<td class="list-group-category-icon"></td>
|
<td class="list-group-category-icon"></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- Calculate colspan number for category title -->
|
|
||||||
{% assign i = 1 %}
|
{% assign i = 1 %}
|
||||||
{% for item in content.items %}
|
{% for item in content.keywords %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<td colspan="{{ i }}" class="list-group-category">{{ content.name }}</td>
|
<td colspan="{{ i }}" class="list-group-category">{{ content.name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% for item in content.keywords %}
|
{% for item in content.keywords %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user