Skip to content

Commit

Permalink
Only show quick links if there are multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-glitsos-ga committed Feb 12, 2025
1 parent bb4960d commit 69d849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_templates/product-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@

.. raw:: html

<p class="margin-bottom-2em">Vector products contain one or more distinct layers of data, and each layer can contain multiple attribute fields. Quick links: {% for layer in layers_table_list %}{%- if loop.index > 1 %}, {% endif -%}<a href="#layer-{{ loop.index }}">{{ layer.name }}</a>{% endfor %}.</p>
<p class="margin-bottom-2em">Vector products contain one or more distinct layers of data, and each layer can contain multiple attribute fields.{% if layers_count > 1 %} Quick links: {% for layer in layers_table_list %}{%- if loop.index > 1 %}, {% endif -%}<a href="#layer-{{ loop.index }}">{{ layer.name }}</a>{% endfor %}.{% endif %}</p>

{% for layer in layers_table_list %}
.. rubric:: {{ layer.name }}
Expand Down

0 comments on commit 69d849e

Please sign in to comment.