aboutsummaryrefslogtreecommitdiffstats
path: root/bricabrac/templates/index.html
diff options
context:
space:
mode:
authorBadaboum <bricabrac@grainedutopie.eu>2017-09-04 20:19:34 +0200
committerJustin Mayer <entroP@gmail.com>2017-09-04 11:19:34 -0700
commitfead1fbe83caa45fce1d475bbdd81c7394aae6ab (patch)
treee379bb2ac1817be804dcc5dfc4a15b05d7d7a408 /bricabrac/templates/index.html
parent7adcf67c02df99da3cdc8e881843ae443bcf5e34 (diff)
downloadpelican-themes-fead1fbe83caa45fce1d475bbdd81c7394aae6ab.tar.gz
Bricabrac: Update theme (#512)
Diffstat (limited to 'bricabrac/templates/index.html')
-rw-r--r--bricabrac/templates/index.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/bricabrac/templates/index.html b/bricabrac/templates/index.html
index 6797900..f5dde62 100644
--- a/bricabrac/templates/index.html
+++ b/bricabrac/templates/index.html
@@ -12,21 +12,22 @@
</header>
<article>
{{ article.summary }}
-<p><a href="{{ SITEURL }}/{{ article.url }}" id="page-title"><u>lire la suite</u></a></p>
</article>
+<p id="continue"><a href="{{ SITEURL }}/{{ article.url }}" id="page-title"><u>{{ gettext('lire la suite') }}</u></a></p>
{% if loop.length > 1 %}
<section id="article-list">
-<h2>Tous les articles</h2>
-<ol>
+<h2>{{ gettext('Tous les articles') }}</h2>
+<dl>
{% endif %}
{# other items #}
- {% else %}
-<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalien vers {{ article.title|striptags }}">{{ article.title }}</a></li>
+ {% else %}
+<dt>{{ article.locale_date }}</dt>
+<dd><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark">{{ article.title }}</a></dd>
{% endif %}
{% endfor %}
- </ol>
- </section><!-- #article-list -->
+ </dl>
{% else %}
- No posts found.
+ <p>{{ gettext('Aucun article') }}.</p>
+ </section><!-- #article-list -->
{% endif %}
{% endblock content %}