Skip to content
Snippets Groups Projects
Commit 6337c52d authored by Daan Debie's avatar Daan Debie
Browse files

Merge pull request #190 from dmark/sidebar-images

Add series of images to the sidebar.
parents 1ed08efa 824f732f
No related branches found
No related tags found
No related merge requests found
......@@ -290,6 +290,12 @@ setting, which comes in handy if you have fancy rewrite rules in your Apache or
The footer will display a copyright message using the AUTHOR variable and the year of the latest post. If a content license mark is enabled (see above), that will be shown as well.
### Sidebar Images
Include a series of images in the sidebar.
SIDEBAR_IMAGES = ["/path/to/image1.png", "/path/to/image2.png"]
## Live example
[This is my website](http://dandydev.net)
......
{% if SIDEBAR_IMAGES %}
<li class="list-group-item">
<ul class="list-group" id="links">
{% for image in SIDEBAR_IMAGES %}
<img width="100%" class="img-thumbnail" src="{{ image }}"/>
{% endfor %}
</ul>
</li>
{% endif %}
......@@ -100,6 +100,7 @@
{% include 'includes/github.html' %}
{% include 'includes/twitter_timeline.html' %}
{% include 'includes/links.html' %}
{% include 'includes/sidebar-images.html' %}
</ul>
</section>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment