{% extends "cms/base.html" %} {% block title %}Insights{% endblock %} {% block page_title %}Insights / Blog{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Insights {% if post_rows %}({{ post_rows|length }}){% endif %}

{% if category_f %}{% endif %} {% if status_f %}{% endif %} {% if q %}✕{% endif %}
Add Category New Post
{% if categories %}
Filter by Category
All {{ total }} {% for cat in categories %}
{{ cat.name }} {{ cat.post_count }}
{% csrf_token %}
{% endfor %}
{% endif %}
{% if post_rows %} {% if q %}

{{ post_rows|length }} result{{ post_rows|length|pluralize }} for "{{ q }}"

{% endif %} {% for row in post_rows %} {% with post=row.post seo=row.seo %} {% endwith %} {% endfor %}
# Image Title Status Publish Date SEO Views Actions
{{ forloop.counter }} {% if post.thumbnail %}{% else %}No image{% endif %}
{{ post.title }}
{% if post.author %}
By {% firstof post.author.get_full_name post.author.username %}
{% endif %}
{% if post.status == 'published' %}Published {% elif post.status == 'draft' %}Draft {% elif post.status == 'review' %}In Review {% elif post.status == 'approved' %}Approved {% elif post.status == 'ready' %}Ready {% elif post.status == 'scheduled' %}Scheduled {% elif post.status == 'needs_update' %}Needs Update {% else %}{{ post.status }}{% endif %} {% if post.status == 'published' %} {{ post.published_at|date:"d M Y"|default:"-" }} {% elif post.status == 'scheduled' %} {% if post.scheduled_at %}{{ post.scheduled_at|date:"d M Y H:i" }}{% else %}Scheduled{% endif %} {% else %} - {% endif %}
{{ seo }}
{{ post.view_count }}
{% csrf_token %}
{% include 'cms/partials/pagination.html' %} {% else %}

{% if q %}No posts match "{{ q }}".{% else %}No posts yet. Write the first one.{% endif %}

{% endif %}
{% endblock %}