Skip to content

Instantly share code, notes, and snippets.

@bobdenotter
Last active December 14, 2015 14:18
Show Gist options
  • Save bobdenotter/5099647 to your computer and use it in GitHub Desktop.
Save bobdenotter/5099647 to your computer and use it in GitHub Desktop.
#bolt
{% setcontent records = "entries/latest/10" allowpaging %}
{% for record in records %}
<article>
<div class="imageholder"><a href="{{ image(record.image) }}">
<img src="{{ thumbnail(record.image, 400, 260) }}">
</a></div>
<h3><a href="{{ record.link }}">{{ record.title }}</a></h3>
<p>{{ record.excerpt(220) }}</p>
</article>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment