aboutsummaryrefslogtreecommitdiffstats
path: root/backdrop/templates/index.html
blob: 3cd962f146d79ef7e8888d8c00445477d278487c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "base.html" %}
{% 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">
        <a class="button" href="{{ SITEURL }}/archives.html">Older Articles&hellip;</a>
    </div>
</div>
{% endblock content %}