fix not showing the correct number of extra tags
This commit is contained in:
parent
7d71b119c1
commit
7001b992d9
|
@ -17,6 +17,9 @@
|
||||||
<% local tag = story.tags[i] %>
|
<% local tag = story.tags[i] %>
|
||||||
<{system cat src/pages/parts/taglist.etlua}>
|
<{system cat src/pages/parts/taglist.etlua}>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if #story.tags > 5 then %>
|
||||||
|
<li>+<%= #story.tags - 5 %></li>
|
||||||
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</td><td>
|
</td><td>
|
||||||
<%= story.posted %>
|
<%= story.posted %>
|
||||||
|
|
Loading…
Reference in New Issue