diff --git a/core/templates/base.html b/core/templates/base.html new file mode 100644 index 0000000..788576e --- /dev/null +++ b/core/templates/base.html @@ -0,0 +1,11 @@ + + + + + {% block title %}Knowledge Base{% endblock %} + {% block head %}{% endblock %} + + + {% block content %}{% endblock %} + + diff --git a/core/templates/core/article_detail.html b/core/templates/core/article_detail.html new file mode 100644 index 0000000..8820990 --- /dev/null +++ b/core/templates/core/article_detail.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} + +{% block title %}{{ article.title }}{% endblock %} + +{% block content %} +
+

{{ article.title }}

+

Published on {{ article.created_at|date:"F d, Y" }}

+
+
+ {{ article.content|safe }} +
+
+{% endblock %}