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

{{ post.title }}

By: {{ post.author.first_name }} {{ post.author.last_name }} {{ post.post_date }} {{ post.post_time }} {% if user.is_authenticated %} {% if user.id == post.author.id %} Edit post Delete post {% endif %} {% endif %}
{% if post.header_image %} {% endif %} {{ post.body|safe }}
{% csrf_token %} {% if user.is_authenticated %} {% if liked %} {% else %} {% endif %} {% endif %} - {{ total_likes }} Likes

Profile Page {% if post.author.profile.website_url %} Website {% endif %} {% if post.author.profile.facebook_url %} | Facebook {% endif %} {% if post.author.profile.instagram_url %} | Instagram {% endif %} {% if post.author.profile.linkedin_url %} | LinkedIn {% endif %}

{{ post.author.first_name }} {{ post.author.last_name }}

{{ post.author.profile.bio }}

Comments

{% if not post.comments.all %}

There is no comments

Write your comment {% else %} {% for comment in post.comments.all %} {{ comment.name }} - {{ comment.date_added }}
{{ comment.body }} {% endfor %} Add comment {% endif %}

{% endblock %}