{%- if include.extra %} {%- assign limit = 5 %} {%- else %} {%- assign limit = 4 %} {%- endif %} {%- assign posts = include.posts | default: site.posts %} {%- assign offset = include.offset | default: 0 %} {%- for post in posts limit: limit offset: offset %}
{{ post.title }} {%- include posts/meta.html post=post %}
{{ post.summary | default: post.excerpt | markdownify }}
{%- endfor %}