{% extends "layouts/base.html" %} {% block title %} {% t "store.blog.title" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %}
{% endblock %} {% block content %}
{% if categories %}
{% endif %} {% block search_posts %}
{% include 'partials/form_field.html' with field=form.name nolabel=True inputGroup=True %}
{% endblock search_posts %}
{% if posts %} {% for post in posts %}
{% with image=post.featured_image %} {% if image %} {% image_thumbnail image "x600" upscale=False as thumb %}
{{ post.title }}
{% endif %} {% endwith %}
{% for category in post.categories.all %}{{ category.name }}{% if not forloop.last %},{% endif %}{% endfor %}

{{ post.title }}

{{ post.content|safe|truncatewords_html:25 }}

By  {{ post.author.first_name}} {{post.author.last_name }} {{ post.created_at }}
{% endfor %} {% include "partials/pagination.html" %} {% else %} {% if search_not_found %} {% t "store.blog.search_not_found" %} {% else %}

{% t "store.blog.no_posts" %}

{% endif %} {% endif %}
{% endblock %}