Skip to content

Commit

Permalink
✨ frontmatter description을 <Blockquote>로 표시
Browse files Browse the repository at this point in the history
  • Loading branch information
padosum committed Dec 7, 2022
1 parent 9e97dbb commit 7639c04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .layouts/src/gatsby-theme-primer-wiki/components/post-page.js
Expand Up @@ -7,6 +7,7 @@ import components from 'gatsby-theme-primer-wiki/src/components/mdx-components'
import SEO from 'gatsby-theme-primer-wiki/src/components/seo'
import { Box, Heading, Text, useTheme } from '@primer/components'
import { HEADER_HEIGHT } from 'gatsby-theme-primer-wiki/src/components/header'
import Blockquote from 'gatsby-theme-primer-wiki/src/components/blockquote'
import WindowFooter from './window-footer'
import TableOfContents from './table-of-contents'
import TagsBlock from 'gatsby-theme-primer-wiki/src/components/tags-block'
Expand Down Expand Up @@ -206,6 +207,7 @@ const Post = ({ data, pageContext, location }) => {
</Box>
</Box>
)}
{description && <Blockquote>{description}</Blockquote>}

{tableOfContents.items ? (
<Box
Expand Down

0 comments on commit 7639c04

Please sign in to comment.