Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,11 @@ | |
</header> | ||
%if items: | ||
<ul class="postlist"> | ||
% for text, link in items: | ||
% for text, link, count in items: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jjconti
Contributor
|
||
<li><a href="${link}">${text}</a> | ||
% if count: | ||
(${count}) | ||
% endif | ||
% endfor | ||
</ul> | ||
%else: | ||
|
if you have 0 post for some year/month it won't show the number between brackets:
(0)
. Is that ok for you?