{% if dataset.num_rows > max_items %}

Note: only the first {{ "{:,}".format(max_items) }} of {{ "{:,}".format(dataset.num_rows) }} total items of this dataset are shown in this preview (~{{ ((max_items / dataset.num_rows) * 100)|round(0)|int }}%)

{% endif %} {% set ns = namespace(links=[]) %} {% for row in rows %} {% set outer_loop = loop %} {% for cell in row %} {% set inner_loop = loop %} {% if outer_loop.index == 1 %} {% if "link" in cell or "url" in cell %} {% set ns.links = ns.links + [inner_loop.index] %} {% endif %} {% endif %} {{ cell|e|add_ahref|safe }} {% endfor %} {% endfor %}