<section id=“news-and-events” class=“home__news-and-events”>

<h2 class="home__news-and-events__title">News and events</h2>

<div class="home__news-and-events__content">

{% 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” -%}

<a class="btn" role="button" href="{{ i.url }}">
<div class="card">
<h3 class="card-title">{{ i.title }}</h3>
<div class="card-body">{{ i.date | date: date_format }} &mdash; {{ i.excerpt | strip_html }}</div>
</div>
</a>

{% endfor %}

</div>

</section>