50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>🍑</title>
|
|
<link href="/_css/style.css" rel="stylesheet">
|
|
<link href="/_css/milligram.css" rel="stylesheet">
|
|
</head>
|
|
<body class="container">
|
|
<main class="wrapper">
|
|
<h1 class="title">
|
|
<a href="https://<%= domain %>">
|
|
<%= domain %>
|
|
</a>
|
|
</h1>
|
|
<div class="container">
|
|
<p>
|
|
Welcome to slash.monster, stories of fiction and fantasy<br/>
|
|
Not safe for work<br/>
|
|
18+
|
|
</p>
|
|
</div>
|
|
<div class="content">
|
|
<% if #stories == 0 then %>
|
|
No stories available.
|
|
<% else %>
|
|
<table>
|
|
<% for k,v in pairs(stories) do %>
|
|
<tr><td>
|
|
<a href="<%= v.url %>">
|
|
<%- v.title %>
|
|
</a>
|
|
</td><td>
|
|
<% if v.isanon then %>
|
|
By Anonymous
|
|
<% else %>
|
|
By <a href="https://<%= v.author %>.<%= domain %>"><%= v.author %></a>
|
|
<% end %>
|
|
</td><td>
|
|
<%= v.posted %>
|
|
</td></tr>
|
|
<% end %>
|
|
</table>
|
|
<% end %>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
<body>
|
|
|