reusable gallery includes; primitive, dynamic loopdir path support
This commit is contained in:
@@ -7,6 +7,4 @@ title : London & Iceland Trip
|
||||
My trip to London and Iceland…
|
||||
</p>
|
||||
|
||||
<div class="list-gallery">
|
||||
{% loopdir path:gallery/2014-london-iceland-trip match:*.md sort:ordering %}<a href="/gallery/2014-london-iceland-trip/{{ item.name }}.html"><img alt="Photo: {{ item.title }}" height="200" src="{{ site.asset_prefix }}/gallery/2014-london-iceland-trip/{{ item.name }}~200x200.jpg" title="{{ item.title }}" width="200" /></a>{% endloopdir %}
|
||||
</div>
|
||||
{% include gallery_list.html gallery='2014-london-iceland-trip' %}
|
||||
|
||||
Reference in New Issue
Block a user