blob: ab2da1f793d6d9d18dedb1c8424148908dd4c295 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% if SIDEBAR_IMAGES %}
{% from 'includes/sidebar/macros.jinja' import title %}
<!-- Sidebar/Images -->
<li class="list-group-item">
{% if SIDEBAR_IMAGES_HEADER %}
<h4>{{ title(SIDEBAR_IMAGES_HEADER, DISABLE_SIDEBAR_TITLE_ICONS, icon='external-link-square') }}</h4>
{% endif %}
<ul class="list-group" id="images">
{% for i in SIDEBAR_IMAGES %}
{% if i[1] %}
<a href="{{ i[1] }}" target="_blank"><img width="100%" class="img-thumbnail" src="{{ i[0] }}"/></a>
{% else %}
<img width="100%" class="img-thumbnail" src="{{ i[0] }}"/>
{% endif %}
{% endfor %}
</ul>
</li>
<!-- End Sidebar/Images -->
{% endif %}
|