diff options
Diffstat (limited to 'src/components/PostElement.astro')
-rw-r--r-- | src/components/PostElement.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/PostElement.astro b/src/components/PostElement.astro index e5a9c50..2263e92 100644 --- a/src/components/PostElement.astro +++ b/src/components/PostElement.astro @@ -25,10 +25,10 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY" </style> <li> - <a href={`/blog/${post.slug}`}>{post.data.title}</a> + <a href={`/blog/${post.slug}`} lang={post.data.lang}>{post.data.title}</a> <div> <small> - <time datetime={post.data.pubDate.toISOString()}>{formattedDate}</time> + <time datetime={post.data.pubDate.toISOString()} lang="en">{formattedDate}</time> <span>•</span> <span>{remarkPluginFrontmatter.minutesRead}</span> </small> |