aboutsummaryrefslogtreecommitdiffstats
path: root/backdrop
diff options
context:
space:
mode:
Diffstat (limited to 'backdrop')
-rw-r--r--backdrop/templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/backdrop/templates/index.html b/backdrop/templates/index.html
index e7846ec..3cd962f 100644
--- a/backdrop/templates/index.html
+++ b/backdrop/templates/index.html
@@ -2,15 +2,21 @@
{% block content %}
{% import 'macros.html' as macros %}
<div class="row">
+ {% if articles|length %}
<div class="small-12 medium-12 columns">
{{ macros.article_summary(articles[0],SITEURL,True,disqus=DISQUS_SITENAME) }}
</div>
+ {% endif %}
+ {% if articles|length > 1 %}
<div class="small-12 medium-6 columns small-articles">
{{ macros.article_summary(articles[1],SITEURL,False,False,disqus=DISQUS_SITENAME) }}
</div>
+ {% endif %}
+ {% if articles|length > 2 %}
<div class="small-12 medium-6 columns small-articles">
{{ macros.article_summary(articles[2],SITEURL,False,False,disqus=DISQUS_SITENAME) }}
</div>
+ {% endif %}
</div>
<div class="row">
<div class="small-12 columns">