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' %}
|
||||
|
||||
6
gallery/2014-london-iceland-trip/map.html
Normal file
6
gallery/2014-london-iceland-trip/map.html
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: post
|
||||
title: London & Iceland Trip
|
||||
---
|
||||
|
||||
{% include gallery_map.html gallery='2014-london-iceland-trip' latitude=59.1116508 longitude=-10.4266682 zoom=4 %}
|
||||
Reference in New Issue
Block a user