shadowfacts.net/site/tutorials.html.ejs

20 lines
539 B
Plaintext

```
metadata.layout = "default.html.ejs"
```
<div class="main">
<% for (const series of allSeries) { %>
<article>
<h2 class="article-title">
<%- fancyLink(series.index.metadata.title, series.index.metadata.permalink) %>
</h2>
<p class="article-meta">
last updated on
<span>
<% const formatted = formatDate(series.index.metadata.lastUpdated, "MMM Do, YYYY") %>
<time datetime="<%= series.index.metadata.lastUpdated.toISOString() %>"><%= formatted %></time>
</span>
</p>
</article>
<% } %>
</div>