Show child items with certain taxonomy

Hello! I’m building my first Grav project, which is a magazine-style blog, essentially. I’d like to populate different divs on my “index” page with “blog” items of different taxonomies (so all the items tagged “HCI” would show up in one area (under a hard-coded heading) and those tagged “Data Science” would show up in another. My instincts tell me to use an if statement in here somewhere:

{% for child in collection %}
  {% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
{% endfor %}

like with this pseudo code, repeated for each section:

{% for child in collection %}
   ### if child has taxonomy "category1" ###
  {% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
{% endfor %}

Loving Grav so far. Would appreciate any tips. Thanks!

It’s all described in the Taxonomy Guide.

Sample code:

<h2>Kevin Smith's Posts</h2>
<ul>
{% for post in taxonomy.findTaxonomy({'tag':'a-tag-value'}) %}
    <li>{{ post.title }}</li>
{% endfor %}
<ul>