diff options
author | Valentin Popov <valentin@popov.link> | 2024-09-06 11:25:35 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-09-06 11:25:35 +0300 |
commit | 6fbdcc94b62aadc1db1582a635f6c90747b6b49d (patch) | |
tree | ceddba6285ab64841fe36cce0268bd4a6e0a025a /src/pages | |
parent | 2f362eaf0937360a0f2a81bac41be81111fa06a8 (diff) | |
download | popov.link-6fbdcc94b62aadc1db1582a635f6c90747b6b49d.tar.xz popov.link-6fbdcc94b62aadc1db1582a635f6c90747b6b49d.zip |
Added author and datetime
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/blog/[...slug].astro | 4 |
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> - by Valentin Popov ‐ + <time datetime={post.data.pubDate.toISOString()}>{post.data.pubDate.toDateString()}</time> + by {post.data.author} ‐ <strong>{remarkPluginFrontmatter.minutesRead}</strong> </small> </p> |