<section class=“card widget”>

<div class="card-content">
  <h2>Recent Posts</h2>
  <ul>
    {%- for post in site.posts limit: 3 -%}
    <li><a href="{{ post.url }}">{{ post.title | escape }}</a></li>
    {%- endfor -%}
  </ul>
</div>

</section>