I have gallery is based on my twitter bootstrap css files. I ended up using Kramdown with inline HTML+Markdown because I couldnt get it to work in Liquid the way I had hoped.
The markdown template parsed by Kramdown looks like this:
---
layout: gallery
title: Gallery
group: dropnavigation
root: .\
---
{% include root %}
{::options parse_block_html="true" /}
<li class="span3">
<div class="thumbnail">
[](#)
#####Thumbnail label
Thumbnail caption right here...
</div>
</li>
<li class="span3">
<div class="thumbnail">
[](#)
#####Thumbnail label
Thumbnail caption right here...
</div>
</li>
The gallery Layout looks like this:
---
layout: core
---
{% include root %}
<div class="page-header">
<h1 class="well">{{ page.title }} <small>{{ site.tagline }}</small></h1>
</div>
<ul class="thumbnails">
{{ content }}
</ul>
Is there a way to do this so that I only include The image tag and label, then it gets styled by the ul, li and div classes via the template? Perhaps by some kind of loop?