diff options
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar/links.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar/links.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar/links.html b/pelican-bootstrap3/templates/includes/sidebar/links.html new file mode 100644 index 0000000..179b1a3 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/sidebar/links.html @@ -0,0 +1,16 @@ +{% 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 %} |