{% assign blog_posts = site.posts | where: "category", "news-and-events" %}
{% for i in blog_posts limit:5 %}
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
{{ i.title }}
{{ i.date | date: date_format }} — {{ i.excerpt | strip_html }}
{% endfor %}