Skip to content

Commit 9ba3490

Browse files
committed
seo description 수정
1 parent f92813a commit 9ba3490

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/templates/blogTemplate.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export default function blogTemplate({ data }) {
99

1010
return (
1111
<Layout>
12-
<SEO title={`jiwoo - ${post.frontmatter.title}`} />
12+
<SEO
13+
title={`jiwoo - ${post.frontmatter.title}`}
14+
description={post.excerpt}
15+
/>
1316
<div className="container">
1417
<div className="blog-header">
1518
<h1 className="blog-title">{post.frontmatter.title}</h1>
@@ -33,6 +36,7 @@ export const query = graphql`
3336
}
3437
markdownRemark(frontmatter: { path: { eq: $slug } }) {
3538
html
39+
excerpt(pruneLength: 200)
3640
frontmatter {
3741
date(formatString: "YYYY-MM-DD")
3842
path

0 commit comments

Comments
 (0)