forked from shadowfacts/shadowfacts.net
Include full timestamp in article meta
This commit is contained in:
parent
1ceaa15507
commit
4c3a069671
|
@ -5,7 +5,8 @@
|
|||
on
|
||||
<span>
|
||||
<% const formatted = formatDate(metadata.date, "MMM Do, YYYY") %>
|
||||
<time itemprop="datePublished" datetime="<%= metadata.date.toISOString() %>"><%= formatted %></time>
|
||||
<% const fullFormatted = formatDate(metadata.date, "hh:mm:ss A MMM Do, YYYY") %>
|
||||
<time itemprop="datePublished" datetime="<%= metadata.date.toISOString() %>" title="<%= fullFormatted %>"><%= formatted %></time>
|
||||
</span>
|
||||
<% if (metadata.category) { %>
|
||||
in
|
||||
|
|
Loading…
Reference in New Issue