shadowfacts.net/site/category.html.ejs

17 lines
412 B
Plaintext
Raw Normal View History

2019-01-04 18:14:53 +00:00
```
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) { %>
2020-01-28 00:31:59 +00:00
<%- include("includes/article-listing.html.ejs", { post }) %>
2019-01-04 18:14:53 +00:00
<% } %>
</div>
2020-01-28 00:31:59 +00:00
<%- include("includes/pagination.html.ejs", { pagination }) %>