_includes/tag-results.html
{% assign posts = include.posts %}
<div class="blog-content" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<ul class="post-list{% if include.trim_padding %} post-list-no-padding{% endif %}">
{% if posts %}
{% for post in posts %}
<li>
<div class="usa-width-one-whole">
<h3>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h3>
{% unless include.limit_metadata %}
{% include post-author.html context='post' %}
<p class="post-date">{{ post.date | date: "%B %-d, %Y" }}</p>
{% endunless %}
{% unless include.limit_metadata %}
<span class="post-tags" itemprop="keywords">
{% for tag in post.tags %}
<a class="usa-label" href="{{ site.baseurl }}/{{ site.tag_dir }}/{{ tag | slugify }}/">
{{ tag }}
</a>
{% endfor %}
</span>
{% endunless %}
</div>
<a class="post-click-target" href="{{ post.url | prepend: site.baseurl }}" title="link to post" tabindex="-1">
{% if post.image.size > 0 %}
<div class="usa-width-one-third">
<img src="{{ site.baseurl }}{{ post.image }}" alt="">
</div>
<div class="usa-width-two-thirds">
{% else %}
<div class="usa-width-one-whole">
{% endif %}
<p>{{ post.excerpt }}</p>
<span class="usa-sr-only">Continue reading about {{ post.title }}</span>
</a>
</div>
</li>
{% endfor %}
{% else %}
No posts yet.
{% endif %}
</ul>
</div>