Added author and datetime

This commit is contained in:
Valentin Popov 2024-09-06 08:25:35 +00:00
parent 2f362eaf09
commit 6fbdcc94b6
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401

View File

@ -27,8 +27,8 @@ const { Content, remarkPluginFrontmatter } = await post.render();
<p>
<small>
Posted
<time datetime="#">#</time>
&nbsp;by&nbsp;Valentin Popov&nbsp;
<time datetime={post.data.pubDate.toISOString()}>{post.data.pubDate.toDateString()}</time>
&nbsp;by&nbsp;{post.data.author}&nbsp;
<strong>{remarkPluginFrontmatter.minutesRead}</strong>
</small>
</p>