summaryrefslogtreecommitdiff
path: root/sublab_project/news/templates/news/news_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/news/templates/news/news_detail.html')
-rw-r--r--sublab_project/news/templates/news/news_detail.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/sublab_project/news/templates/news/news_detail.html b/sublab_project/news/templates/news/news_detail.html
new file mode 100644
index 0000000..e3a0de1
--- /dev/null
+++ b/sublab_project/news/templates/news/news_detail.html
@@ -0,0 +1,10 @@
+{% extends 'base.html' %}
+
+{% block title %}{{ object.title }}{% endblock %}
+
+{% block content %}
+ <p class="news_date">{{ object.date_updated|date:"DATETIME_FORMAT" }}</p>
+ <h2 id="{{ object.slug }}">{{ object.title }}</h3>
+ <p>{{ object.content_html|safe }}</p>
+ <p class="header">{{ object.author }}</p>
+{% endblock content %}