sitolost/pelican-themes/pelican-bootstrap3bis/templates/includes/sidebar/links.html

17 lines
461 B
HTML
Raw Normal View History

2019-10-23 14:37:16 +02:00
{% if LINKS %}
{% from 'includes/sidebar/macros.jinja' import title %}
<!-- Sidebar/Links -->
<li class="list-group-item">
<h4>{{ title(_('Links'), DISABLE_SIDEBAR_TITLE_ICONS, icon='external-link-square') }}</h4>
<ul class="list-group" id="links">
{% for name, link in LINKS %}
<li class="list-group-item">
<a href="{{ link }}" target="_blank">{{ name }}</a>
</li>
{% endfor %}
</ul>
</li>
<!-- End Sidebar/Links -->
{% endif %}