{% load static %} {% load crispy_forms_tags %} DPI BLOG | Learn, Share and Practice Writing Skills
{% include "articles/tailwind-theme/_navbar.html" %} {% include "articles/tailwind-theme/_registered_navlinks.html" %}
{{ object.author.profile.username|title }}
{{ object.author|title }} {% if object.author.profile.show_headline_in_bio %} {{ object.author.profile.headline }} {% endif %}

{{ object.title }}

{{ object.content|safe }}
Comments
{% if request.user.is_authenticated %}

Post a Comment

{% csrf_token %} {{ comment_form|crispy }}
{% else %}

Sign in to comment

{% endif %} {% if user_pending_comments %} {% for comment in user_pending_comments %}
{{ comment.author }}
{{ comment.author|title }} Pending
...
{{ comment|safe }}
{% endfor %} {% endif %} {% for comment in comments %}
{{ comment.author|title }}
{{ comment.author|title }}
...
{{ comment|safe }}
{% endfor %}