{{ page.title }}
{{ render(controller('PrintStorm\\Controller\\BlogController::searchForm', {'params': params})) }} {% if params is not empty %}
Showing posts
{%- if params.keywords is defined -%}
{{ ' ' }}for “{{ params.keywords }}”
{%- endif -%}
{%- if params.author is defined -%}
{{ ' ' }}by “{{ params.author.title }}”
{%- endif -%}
{%- if params.tag is defined -%}
{{ ' ' }}tagged “{{ params.tag }}”
{%- endif -%}
.
{% endif %}
{% if posts is not empty %}
{% if params is empty and currentPage == 1 %}
{% set featured = posts|first %}
{% set posts = posts|slice(1) %}
{% endif %}
{% if featured is defined %}
{% if featured.image %}
{% endif %}
{% endif %}
{% set config = {'masonry': {'itemSelector': '.archive-item', 'percentPosition': true}} %}
{% if featured.tags is not empty %}
{% for tag in featured.tags %}
{{ tag }}
{% if not loop.last %}
•
{% endif %}
{% endfor %}
{% endif %}
{{ featured.title }}
{{ featured.excerpt|striptags('
')|raw }}
{% for post in posts %}
{% endfor %}
{% if pageCount > 1 %}
{% endif %}
{% else %}
{% if post.image %}
{% endif %}
{% if post.tags is not empty %}
{% for tag in post.tags %}
{{ tag }}
{% if not loop.last %}
•
{% endif %}
{% endfor %}
{% endif %}
{{ post.title }}
{{ post.excerpt|striptags('
')|raw }}
No results found.
{% endif %}