aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog')
-rw-r--r--src/pages/blog/[...slug].astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro
index a142db4..39522a1 100644
--- a/src/pages/blog/[...slug].astro
+++ b/src/pages/blog/[...slug].astro
@@ -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>