Skip to content

Commit ae7cc7d

Browse files
committed
포스팅 내용 미리보기가 좀 더 길게 보여지도록 수정
1 parent b718ff8 commit ae7cc7d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
8989
edges {
9090
node {
9191
id
92-
excerpt(pruneLength: 350, truncate: true)
92+
excerpt(pruneLength: 500, truncate: true)
9393
fields {
9494
slug
9595
}

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const pageQuery = graphql`
4545
edges {
4646
node {
4747
id
48-
excerpt(pruneLength: 200, truncate: true)
48+
excerpt(pruneLength: 500, truncate: true)
4949
frontmatter {
5050
categories
5151
title

src/templates/blog-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const pageQuery = graphql`
5454
cur: markdownRemark(fields: { slug: { eq: $slug } }) {
5555
id
5656
html
57-
excerpt(pruneLength: 350, truncate: true)
57+
excerpt(pruneLength: 500, truncate: true)
5858
frontmatter {
5959
date(formatString: "MMMM DD, YYYY")
6060
title

0 commit comments

Comments
 (0)