diff options
Diffstat (limited to 'pyaggr3g470r/templates/article.html')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html new file mode 100644 index 00000000..c05cac5e --- /dev/null +++ b/pyaggr3g470r/templates/article.html @@ -0,0 +1,13 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + <h2><a href="{{ article.link }}">{{ article.title }}</a></h2> + <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove" title="Delete this article"></i></a> + <h6>{{ article.date }}</h6> + </div> + <div class="jumbotron"> + {{ article.content|safe }} + </div> +</div><!-- /.container --> +{% endblock %} |