{% assign links = include.links | where:'show', true %}

{% if links.size > 0 %}

<p class="mb-3">Refer to the documentation by the links below:</p>

<div class="pt-3">
{% for item in links %}
    <a
        href="{{ item.link }}"
        {% if item.target %}target="{{ item.target }}"{% endif %}
        {% if item.direct_download and item.direct_download == true %}download="{{ item.link | split: '/' | last }}"{% endif %}
        class="btn btn-outline-secondary action-go"
    >
        {{ item.name }}
    </a>
{% endfor %}
</div>

{% endif %}