31 lines
618 B
Plaintext
31 lines
618 B
Plaintext
|
|
<tr><td>
|
|
<% if story.unlisted then %>
|
|
⛔
|
|
<% end %>
|
|
</td><td>
|
|
<a href="<%= story.url %>">
|
|
<%- story.title %>
|
|
</a>
|
|
</td><td>
|
|
<% if story.isanon then %>
|
|
By Anonymous
|
|
<% else %>
|
|
By <a href="https://<%= story.author %>.<%= domain %>"><%= story.author %></a>
|
|
<% end %>
|
|
</td><td>
|
|
<%= story.hits %> hits
|
|
</td><td>
|
|
<ul class="row tag-list">
|
|
<% for i = 1,math.min(#story.tags, 5) do %>
|
|
<% 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 %>
|
|
</td></tr>
|