~crocmagnon/blog

ref: 23985a3263ac83aab2f72e90ec98bfea4632a7fc blog/articles/templates/articles/article_detail.html -rw-r--r-- 482 bytes
23985a32Gabriel Augendre Highlight targeted comment & add permalink 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends 'articles/base.html' %}

{% block title %}
    {{ article.title }}
{% endblock %}
{% block content %}
    <article class="article-detail">
        <h1>{{ article.title }}{% if article.status != article.PUBLISHED %} ({{ article.status }}){% endif %}</h1>
        {% include "articles/metadata_snippet.html" %}
        <div>
            {{ article.get_formatted_content|safe }}
        </div>
    </article>
    {% include 'articles/comment_snippet.html' %}
{% endblock %}