Skip to content

Commit

Permalink
fix: data from page
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed May 10, 2024
1 parent 9795cb8 commit 08554a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/book/app/components/ArticlePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const ArticlePage = React.memo(function ({
const manifest = useProjectManifest();
const compute = useComputeOptions();

const pageDesign: TemplateOptions = (data.page.frontmatter as any)?.options ?? {};
const pageDesign: TemplateOptions = (article.frontmatter as any)?.options ?? {};
const siteDesign: TemplateOptions =
(useSiteManifest() as SiteManifest & TemplateOptions)?.options ?? {};
const { hide_toc, hide_title_block, hide_footer_links, hide_outline, outline_maxdepth } = {
Expand Down

0 comments on commit 08554a3

Please sign in to comment.