aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/article.html
blob: 9174aea3105804ea3b004303d87d3bf071a1dd94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% 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>
        {% if article.like %}
            <i class="glyphicon glyphicon-star" title="One of your favorites"></i>
        {% else %}
            <i class="glyphicon glyphicon-star-empty" title="Click if you like this article"></i>
        {% endif %}
        <h6>{{ article.date }}</h6>
    </div>
    <div class="jumbotron">
        {{ article.content|safe }}
    </div>
</div><!-- /.container -->
{% endblock %}
bgstack15