Show the total number of article on a blog

fixes #150
This commit is contained in:
Kevin "Ilphrin" Pellet
2018-07-21 16:58:30 +02:00
parent 7319cf9829
commit cd24b0f057
3 changed files with 13 additions and 2 deletions
+4 -1
View File
@@ -19,7 +19,10 @@
<a class="author" href="/@/{{ author.fqn }}">{{ name }}</a>{% if not loop.last %},{% endif %}
{% endfor %}
</p>
<p>
{{ "{{ count }} articles in this blog" | _n(singular="One article in this blog", count = n_articles) }}
</p>
<section>
<h2>{{ "Latest articles" | _ }}</h2>
{% if recents | length < 1 %}