Skip to content

Commit b389934

Browse files
committed
display post title as h1 heading.
1 parent 2b91dca commit b389934

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/news/[id].astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const { Content: PostContent } = await render(postData);
2121

2222
<Content title={postData.data.title} description={postData.data.description || postData.data.title}>
2323
<div>
24+
<h1>{postData.data.title}</h1>
2425
<PostContent />
2526
<p>Published on: {postData.data.date.toLocaleDateString()}</p>
2627
</div>

0 commit comments

Comments
 (0)