aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-06 11:25:35 +0300
committerValentin Popov <valentin@popov.link>2024-09-06 11:25:35 +0300
commit6fbdcc94b62aadc1db1582a635f6c90747b6b49d (patch)
treeceddba6285ab64841fe36cce0268bd4a6e0a025a /src/pages
parent2f362eaf0937360a0f2a81bac41be81111fa06a8 (diff)
downloadpopov.link-6fbdcc94b62aadc1db1582a635f6c90747b6b49d.tar.xz
popov.link-6fbdcc94b62aadc1db1582a635f6c90747b6b49d.zip
Added author and datetime
Diffstat (limited to 'src/pages')
-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>