(props: Props)
| 15 | import { pushGtmEvent } from "@site/src/utils/pushGtmEvent"; |
| 16 | |
| 17 | function BlogListPageMetadata(props: Props): JSX.Element { |
| 18 | const { metadata } = props; |
| 19 | const { |
| 20 | siteConfig: { title: siteTitle }, |
| 21 | } = useDocusaurusContext(); |
| 22 | const { blogDescription, blogTitle, permalink } = metadata; |
| 23 | const isBlogOnlyMode = permalink === "/"; |
| 24 | const title = isBlogOnlyMode ? siteTitle : blogTitle; |
| 25 | return ( |
| 26 | <> |
| 27 | <PageMetadata title={title} description={blogDescription} /> |
| 28 | <SearchMetadata tag="blog_posts_list" /> |
| 29 | </> |
| 30 | ); |
| 31 | } |
| 32 | |
| 33 | function BlogListPageContent(props: Props): JSX.Element { |
| 34 | const { metadata, items, sidebar } = props; |
nothing calls this directly
no outgoing calls
no test coverage detected