Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Jekyll excerpts for not only posts. For collections and pages: http://himsel.me/blog.html
<div class="row">
{% for page in site.pages %}
<div>
<span>{{ page.title }}</span>
{% assign excerpt = page.content | split: site.excerpt_separator %}
{{ excerpt[0] }}
</div>
{% endfor %}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment