pelican-theme-bootstrap4/templates/includes/sidebar/links.html
2019-04-19 21:30:55 +03:00

17 lines
461 B
HTML

{% 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 %}