pelican-theme-bootstrap4/templates/includes/sidebar/links.html

17 lines
461 B
HTML
Raw Normal View History

2019-04-19 18:30:55 +00: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 %}