Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post List의 frontmatter description이 표기되지 않는 문제 #136

Closed
rxjw95 opened this issue May 28, 2023 · 1 comment
Closed

Post List의 frontmatter description이 표기되지 않는 문제 #136

rxjw95 opened this issue May 28, 2023 · 1 comment

Comments

@rxjw95
Copy link
Contributor

rxjw95 commented May 28, 2023

frontmatter의 description을 작성해도 포스트 리스트에 표기되지 않고, 본문 요약 내용만 표기되는 문제가 있는 것 같습니다.


title: "blah blah"
description: "해당 속성을 작성하면 포스트 목록에서 title, date 다음으로 이 텍스트가 표기되어야 한다."
date: 2022-06-25
update: 2022-06-25
tags:

  • spring

문제 해결

pages/index.jsx에서 pageQuery문의 allMarkdownRemark > nodes > frontmatter에 description을 추가해서 post들의 frontmatter 속성중 description을 함께 읽어오면 될 것 같습니다!

이로부터 발생하는 추가적인 이슈는 다음과 같습니다.

도움이 될 것 같은 문서도 올려두겠습니다.
https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/

좋은 블로그 만들어주셔서 감사합니다!

@devHudi
Copy link
Owner

devHudi commented Oct 4, 2023

해당 PR에서 해결되었음

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants