{% extends 'base.html' %} {% block content %}

Category-{{category}}

{% if posts %} {% for post in posts %}

{{post.title}}

{{post.created_at | timesince}} ago | {{post.auther}}

{{post.short_description | truncatewords:25 }}

{% endfor %} {% else %}

No Post Found

{% endif %}
{% endblock %}