aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/article.html1
-rw-r--r--pyaggr3g470r/templates/articles.html10
2 files changed, 11 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 9c4fe287..28c53714 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -3,6 +3,7 @@
<div class="container">
<div class="jumbotron">
<h1>{{ article.title }}</h1>
+ <h4>{{ article.link }}</h4>
<h6>{{ article.date }}</h6>
</div>
<div class="jumbotron">
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html
index d98d1f80..146769ac 100644
--- a/pyaggr3g470r/templates/articles.html
+++ b/pyaggr3g470r/templates/articles.html
@@ -13,5 +13,15 @@
{% endfor %}
</div>
{% endfor %}
+ {% if feed.articles|length % 3 !=0 %}
+ <div class="row">
+ <div class="col-xs-6 col-sm-4 col-md-4">
+ {% if feed.articles[feed.articles|length-1].readed %}<h3>{% else %}<h1>{% endif %}
+ <a href="/article/{{ feed.articles[feed.articles|length-1].id }}">{{ feed.articles[feed.articles|length-1].title }}</a><h2>
+ {% if feed.articles[feed.articles|length-1].readed %}</h3>{% else %}</h1>{% endif %}
+ <h6>{{ feed.articles[feed.articles|length-1].date }}</h6>
+ </div>
+ </div>
+ {% endif %}
</div><!-- /.container -->
{% endblock %} \ No newline at end of file
bgstack15