Extend gallery functionality, general cleanup

This commit is contained in:
2015-12-20 13:56:21 +00:00
parent 89f2ca8f31
commit 234fe32bb8
22 changed files with 81 additions and 99 deletions

View File

@@ -1,11 +1,11 @@
---
title: 'Galleries'
title: Galleries
layout: default
---
<section>
{% loopdir path:"gallery" match:"*/index.html" sort:"-date" %}
<div style="display:inline-block;height:274px;margin:8px 10px 0 0;text-align:center;width:200px;">
<div style="display: inline-block; height: 274px; margin: 8px 10px 0 0; text-align: center; width: 200px;">
<a href="/{{ site.baseurl }}/{{ item.path|replace:'/index.html','/' }}" style="text-decoration:none;">
<img alt="{{ item.title }}" height="200" src="{{ site.asset_prefix }}/{{ item.path|replace:'/index.html','' }}/{{ item.highlight_photo }}~200x200.jpg" title="{{ item.title }}" width="200" style="border-radius:4px;" />
<span style="text-decoration:underline;">{{ item.title }}</span>