{% if content.getLinks() %}
<div class="row inner-full">
<div class="col-10 offset-1">
<h4 class="smaller text-primary border-bottom">{{ content.getH2() ? content.getH2() : 'news.details.links_title'|trans }}</h4>
<ul class="linklist list-unstyled d-flex">
{% for link in content.getLinks() %}
{% if link.getType == 'page' %}
{% set title = link.getTitle() %}
{% else %}
{% set title = link.getKey() %}
{% endif %}
{% if not title %}
{% set title = link.getKey() %}
{% endif %}
{% set href = foxhabbit_common_tool_url_get_href( link) %}
{% set target = foxhabbit_common_tool_url_get_target( link) %}
<li><a class='lorch-icon {{ target == '_blank' ? 'lorch-icon-external-link' : 'lorch-icon-next' }}' href="{{ href }}" target="{{ target }}">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}