Skip to content

Instantly share code, notes, and snippets.

@iso100 iso100/default.html
Created Jul 3, 2014

Embed
What would you like to do?
Homepage template showing a gallery item
<div class="row">
<div class="eight columns">
<h2>Photography by Andrew Mosedale</h2>
<div class="row">
<div class="eight columns">
{{ content }}
</div>
<div class="four columns">
<div class="example-image">
{{ get_content from="/gallery" }}
{{ gallery limit="1" sort_dir="desc" }}
<img src="{{ transform src="{photo}" width="400" action="resize" }}" alt="{{ caption }}">
{{ /gallery }}
{{ /get_content }}
</div>
</div>
</div>
</div>
<div class="four columns sidebar" role="complementary">
{{ theme:partial src="common-sidebar" }}
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.