shadowfacts.net/site/category.html.ejs

17 lines
412 B
Plaintext

```
metadata.layout = "default.html.ejs"
```
<div class="main">
<h1 class="page-heading"><%= category %> posts</h1>
<p class="rss">
Subscribe to just <%= category %> posts via <a href="/<%= category %>/feed.xml">RSS</a>.
</p>
<% for (const post of posts) { %>
<%- include("includes/article-listing.html.ejs", { post }) %>
<% } %>
</div>
<%- include("includes/pagination.html.ejs", { pagination }) %>