Fix search template section items iteration
This commit is contained in:
parent
79933c2ecd
commit
fcce3b8854
@ -19,7 +19,7 @@
|
||||
<a href="{{ section.view_all_url }}" class="btn btn-sm btn-outline-secondary">Open {{ section.title }}</a>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
{% if section.items %}
|
||||
{% if section['items'] %}
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm mb-0 align-middle">
|
||||
<thead class="table-light">
|
||||
@ -30,7 +30,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in section.items %}
|
||||
{% for item in section['items'] %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if item.link %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user