File tree Expand file tree Collapse file tree
ckanext/gobar_theme/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,10 +138,8 @@ <h2 class="gobar-section-title">Los más consultados</h2>
138138 </ div >
139139 {% if pkg.resources %}
140140 < div class ="gobar-featured-tags ">
141- {% for res in pkg.resources[:3] %}
142- < span class ="gobar-featured-tag ">
143- {{ res.format | upper if res.format else 'N/A' }}
144- </ span >
141+ {% for format in h.dict_list_reduce(pkg.resources, 'format')[:3] %}
142+ < span class ="gobar-featured-tag "> {{ format | upper }}</ span >
145143 {% endfor %}
146144 </ div >
147145 {% endif %}
Original file line number Diff line number Diff line change 88{% endblock %}
99
1010{% block content %}
11- < div class ="main ">
11+ < div class ="main " style =" padding: 0; " >
1212 {# ── Hero full-width, fuera del .container de CKAN ── #}
1313 < section style ="background-color: #383691; color: #fff; padding: 40px 0 32px; ">
1414 < div class ="container ">
You can’t perform that action at this time.
0 commit comments