2019-01-04 18:14:53 +00:00
|
|
|
<p class="article-meta">
|
2020-02-19 02:06:20 +00:00
|
|
|
<span itemprop="author" itemscope="" itemtype="https://schema.org/Person">
|
2019-07-06 18:48:32 +00:00
|
|
|
<meta itemprop="name" content="Shadowfacts">
|
2020-02-19 02:06:20 +00:00
|
|
|
</span>
|
2019-01-04 18:14:53 +00:00
|
|
|
on
|
|
|
|
<span>
|
|
|
|
<% const formatted = formatDate(metadata.date, "MMM Do, YYYY") %>
|
2019-09-18 14:42:41 +00:00
|
|
|
<% const fullFormatted = formatDate(metadata.date, "hh:mm:ss A MMM Do, YYYY") %>
|
|
|
|
<time itemprop="datePublished" datetime="<%= metadata.date.toISOString() %>" title="<%= fullFormatted %>"><%= formatted %></time>
|
2019-01-04 18:14:53 +00:00
|
|
|
</span>
|
2020-08-29 16:09:42 +00:00
|
|
|
<% if (metadata.tags) { %>
|
2019-01-04 23:24:16 +00:00
|
|
|
in
|
2020-08-29 16:09:42 +00:00
|
|
|
<% for (let i = 0; i < metadata.tags.length; i++) { %>
|
2021-04-12 22:31:03 +00:00
|
|
|
<span itemprop="articleSection"><a href="/<%= metadata.tagSlugs[i] %>/" rel="tag"><%= metadata.tags[i] %></a></span><%= i < metadata.tags.length - 1 ? ", " : "" %>
|
2020-08-29 16:09:42 +00:00
|
|
|
<% } %>
|
2019-01-04 18:14:53 +00:00
|
|
|
<% } else if (metadata.series) { %>
|
2019-01-04 23:24:16 +00:00
|
|
|
in
|
|
|
|
<span itemprop="articleSection"><a href="/tutorials/<%= metadata.series %>" rel="category"><%= metadata.seriesName %></a></span>
|
2019-01-04 18:14:53 +00:00
|
|
|
<% } %>
|
2019-06-29 20:01:05 +00:00
|
|
|
<% if (metadata.readingTime) { %>
|
|
|
|
•
|
2019-11-12 02:28:52 +00:00
|
|
|
<span title="<%= metadata.wordCount %> words"><%= metadata.readingTime %> min read</span>
|
2019-06-29 20:01:05 +00:00
|
|
|
<% } %>
|
2019-09-18 14:42:41 +00:00
|
|
|
</p>
|