27 lines
481 B
Plaintext
27 lines
481 B
Plaintext
|
<html>
|
||
|
<head>
|
||
|
<link href="style.css" rel="stylesheet">
|
||
|
</head>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<th>Title</th>
|
||
|
<th>Author</th>
|
||
|
<th>Tags</th>
|
||
|
<th>Posted</th>
|
||
|
</tr>
|
||
|
<% for k,story in pairs(stories) do %>
|
||
|
<tr>
|
||
|
<td><a href="<%= story.filename %>"><%- story.title %></a></td>
|
||
|
<td>By <%= story.author %></td>
|
||
|
<td><ul class="tag-list">
|
||
|
<% for i = 1,#story.tags do %>
|
||
|
<li><%= story.tags[i] %></li>
|
||
|
<% end %>
|
||
|
</ul></td>
|
||
|
<td><%= story.posted %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|
||
|
|
||
|
</html>
|