fix not showing the correct number of extra tags

This commit is contained in:
Robin Malley 2021-01-10 21:42:19 +00:00
parent 7d71b119c1
commit 7001b992d9
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@
<% local tag = story.tags[i] %>
<{system cat src/pages/parts/taglist.etlua}>
<% end %>
<% if #story.tags > 5 then %>
<li>+<%= #story.tags - 5 %></li>
<% end %>
</ul>
</td><td>
<%= story.posted %>