abtmtr-v13/views/pages/updates.ejs
2024-08-31 02:08:51 -05:00

23 lines
No EOL
815 B
Text

<!DOCTYPE html>
<html>
<%- include("../components/page-head.ejs") %>
<body>
<main>
<h1>updates</h1>
<p>what's going on with abtmtr.link?</p>
<h2>items</h2>
<p>subscribe to the <a href="/rss">rss feed</a>!</p>
<ul>
<% rss.items.forEach((item) => { %>
<li>
<h3><a href="<%= item.link %>"><%= item.title %></a></h3>
<p class="nomargin" style="opacity: 0.5">by <%= item.author %> / <%= new Date(item.isoDate).toLocaleString(rss.language, { timeZone: "America/Chicago" }) %> Central Time</p>
<p style="white-space: pre-line;"><%= item.content.trim() %></p>
</li>
<% }) %>
</ul>
</main>
<%- include("../components/footer.ejs") %>
<%- include("../components/post-main.ejs") %>
</body>
</html>