description = "Tag results" [viewBag] [searchPosts] slug = "{{ :slug }}" pageNumber = "{{ :page }}" postsPerPage = 4 postPage = "blog/blog-post" sortOrder = "published_at desc" == {% set posts = searchPosts.posts %} {% set tag = searchPosts.tag %}

Search results for {% if tag %}{{ tag.name }}{% else %}{{ slug }}{% endif %}

{% for post in posts %}
{% if post.categories.count %} {% endif %}
    {% for category in post.categories %}
  • {{ category.name }}{% if not loop.last %}, {% endif %}
  • {% endfor %}
{% if post.user.avatar %} {{ post.user.avatar.file_name }} {% else %} {% endif %}
{{ post.user.first_name}}
{{ post.published_at|date('M d, Y') }}

{{ post.title }}

{{ html_limit(post.summary, 280)|raw }}

{% else %}
{{ noPostsMessage }}
{% endfor %}
{% if this.theme.load_addthis_social %} {% endif %} {% if this.theme.load_disqus_comments %} {% endif %}