{% extends 'dashboard/base/base.html' %} {% block title %} Blog Posts | Dashboard {% endblock %} {% block custom_css %} .table-responsive { display: block; width: 100%; overflow-x: hidden; } table img{ width:15%; height:auto; } {% endblock %} {% block body %} {% load humanize %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% for p in post %} {% endfor %}
No. Date Title Category Views Status Actions
{{ forloop.counter }} {{ p.created_at|naturalday }} {{ p.title }} {{ p.catagories }} {{ p.visit_count }} {{ p.status }} {% if p.visible == False %} {% else %} {% endif %}
{% endblock %}