shadowfacts.net/site/tutorials.html.ejs

24 lines
589 B
Plaintext
Raw Permalink Normal View History

2019-01-04 18:14:53 +00:00
```
metadata.layout = "default.html.ejs"
2020-08-22 02:22:21 +00:00
metadata.title = "Tutorials"
2019-01-04 18:14:53 +00:00
```
<div class="main">
<% for (const series of allSeries) { %>
<article>
<h2 class="article-title">
<a href="<%= series.index.metadata.permalink %>">
<%= series.index.metadata.title %>
</a>
</h2>
2019-01-04 18:14:53 +00:00
<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>
<% } %>
2020-08-22 02:22:21 +00:00
</div>