Include full timestamp in article meta
This commit is contained in:
parent
1ceaa15507
commit
4c3a069671
|
@ -5,7 +5,8 @@
|
||||||
on
|
on
|
||||||
<span>
|
<span>
|
||||||
<% const formatted = formatDate(metadata.date, "MMM Do, YYYY") %>
|
<% 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>
|
</span>
|
||||||
<% if (metadata.category) { %>
|
<% if (metadata.category) { %>
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in New Issue