Skip to content

Commit e3d1db2

Browse files
authored
Update index.js
1 parent a037b90 commit e3d1db2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/blog/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ const blogs = (props) => {
1313
if (data && data.data) {
1414
return (
1515
<article class={style.blogcontainer}>
16-
<h1 class={style.blogtitle}>{data.data.title}</h1>
16+
<h1 class={style.blogtitle}>{data.data.details.title}</h1>
17+
<caption class={style.subtitle}>{data.data.details.subtitle}</caption>
1718
<div class={style.blogbody}>
1819
<Markdown>{ data.data.content }</Markdown>
1920
</div>

0 commit comments

Comments
 (0)