abtmtr-v13/views/pages/updates.ejs

23 lines
815 B
Text
Raw Normal View History

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