Skip to content

Commit 137693c

Browse files
committed
feat: add lang attribute to artical tag
1 parent f6d9884 commit 137693c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/astro-friday/src/components/ArticleDetail.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const fKeys = config.post.frontmatterKeys
5959
}
6060
</div>
6161

62-
<article class="component-article-detail__article displaying-table-of-contents mx-auto prose dark:prose-invert">
62+
<article lang={entry.data[fKeys.lang]} class="component-article-detail__article displaying-table-of-contents mx-auto prose dark:prose-invert">
6363
<slot />
6464
</article>
6565

0 commit comments

Comments
 (0)