This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/templates/articles/article_detail.html

20 lines
520 B
HTML

{% extends 'articles/base.html' %}
{% block append_header %}
<style>
{{ article.custom_css }}
</style>
{% endblock %}
{% block title %}{{ article.title }} | {% endblock %}
{% block content %}
<article>
<h1>{{ article.title }}{% if article.status != article.PUBLISHED %}
({{ article.status }}){% endif %}</h1>
{% include "articles/snippets/metadata.html" %}
<div>
{{ article.get_formatted_content|safe }}
</div>
</article>
{% endblock %}