aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/articles.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/articles.html')
-rw-r--r--pyaggr3g470r/templates/articles.html10
1 files changed, 10 insertions, 0 deletions
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