Extend gallery functionality, general cleanup
This commit is contained in:
4
_includes/gallery.html
Normal file
4
_includes/gallery.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% capture path %}gallery/{{ include.gallery }}{% endcapture %}
|
||||
<div style="line-height:0; padding:4px 0 0 1px;">
|
||||
{% loopdir path:path match:"*.md" sort:"ordering" %}<a href="/{{ site.baseurl }}/{{ item.fullname }}.html" style="display: inline-block; margin: 3px; text-decoration: none;"><img alt="Photo: {{ item.title }}" height="48" src="{{ site.asset_prefix }}/{{ item.fullname }}~96x96.jpg" title="{{ item.title }}" width="48" style="padding: 1px;" /></a>{% endloopdir %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user