{% extends 'base.html' %} {% load static i18n %} {% load comments crispy_forms_tags thumbnail humanize %} {% block title %}{{ article.title|title }}{% endblock %} {% block content %}

{{ article.title|title }}

{% trans 'by' %} {{ article.user.get_profile_name|title }}


{% trans 'Posted' %} {{ article.timestamp|naturaltime }}


{% thumbnail article.image "900x300" as im %} {% trans 'Featured Image' %} {% empty %} Card Image {% endthumbnail %}

{{ article.get_markdown|safe }}


{% trans 'Leave a Comment' %}:
{% if user.is_authenticated %} {% get_comment_form for article as form %}
{% csrf_token %} {{ form|crispy }}
{% endif %}
{% get_comment_list for article as comment_list %} {% for comment in comment_list %}
{% thumbnail comment.user.picture "x50" as im %} {% trans 'Picture Profile' %} {% empty %} {% trans 'No Profile Picture' %} {% endthumbnail %}
{{ comment.user.get_profile_name|title }}
{{ comment }}
{% endfor %}
{% if request.user.is_authenticated %} {% endif %}
{% trans 'Cloud tag' %}
{% for tag in article.tags.all %} {{ tag }} {% endfor %}
{% endblock content %}