{% extends 'base.html' %} {% load humanize %} {% block title %}{{ block.super }}| Home{% endblock title %} {% block content %}
{% if object_list %} {% for obj in object_list %}
Card image cap

{{ obj.title }}

Price: ₱{{ obj.price|intcomma }}
Likes: {{ obj.likes_count }}
Taste: {{ obj.taste }} out of 10
Person: {{ obj.persons }}
Category: {% for cat in obj.get_categories %} {{ cat }} {% endfor %}

Details
{% if obj in user_liked_posts %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% endfor %} {% else %}

Sorry !! No post found...

{% endif %}
{% if is_paginated %} {% endif %}
{% endblock content %}