Skip to content

Instantly share code, notes, and snippets.

@PhillippOhlandt
Last active October 21, 2015 12:03
Show Gist options
  • Save PhillippOhlandt/a02bd46ece23752bd29f to your computer and use it in GitHub Desktop.
Save PhillippOhlandt/a02bd46ece23752bd29f to your computer and use it in GitHub Desktop.
For my Bolt.cm + Pusher tutorial
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 entries">
{% setcontent records = "entries/latest/20" allowpaging %}
{% for record in records %}
<div class="post-preview">
<a href="{{ record.link }}">
<h2 class="post-title">
{{ record.title }}
</h2>
<h3 class="post-subtitle">
{{ record.body }}
</h3>
</a>
</div>
<hr>
{% endfor %}
<!-- Pager -->
{{ pager() }}
</div>
</div>
</div>
<hr>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment