We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f92813a commit 9ba3490Copy full SHA for 9ba3490
1 file changed
src/templates/blogTemplate.js
@@ -9,7 +9,10 @@ export default function blogTemplate({ data }) {
9
10
return (
11
<Layout>
12
- <SEO title={`jiwoo - ${post.frontmatter.title}`} />
+ <SEO
13
+ title={`jiwoo - ${post.frontmatter.title}`}
14
+ description={post.excerpt}
15
+ />
16
<div className="container">
17
<div className="blog-header">
18
<h1 className="blog-title">{post.frontmatter.title}</h1>
@@ -33,6 +36,7 @@ export const query = graphql`
33
36
}
34
37
markdownRemark(frontmatter: { path: { eq: $slug } }) {
35
38
html
39
+ excerpt(pruneLength: 200)
40
frontmatter {
41
date(formatString: "YYYY-MM-DD")
42
path
0 commit comments