()
| 10 | |
| 11 | // apply a bottom margin in list view |
| 12 | function useContainerClassName() { |
| 13 | const { isBlogPostPage } = useBlogPost(); |
| 14 | return !isBlogPostPage ? "margin-bottom--xl" : undefined; |
| 15 | } |
| 16 | |
| 17 | export default function BlogPostItem({ |
| 18 | children, |