Skip to content

Commit

Permalink
Properly forward bread-crumbs from book to site
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Jul 12, 2023
1 parent a68aad0 commit 4f1dc59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/project/types/book/book-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { kProjectRender, ProjectConfig } from "../../types.ts";
import {
kBodyFooter,
kBodyHeader,
kBreadCrumbNavigation,
kContents,
kImage,
kMarginFooter,
Expand Down Expand Up @@ -142,6 +143,7 @@ export async function bookProjectConfig(
site[kGoogleAnalytics] = book[kGoogleAnalytics];
site[kCookieConsent] = book[kCookieConsent];
site[kComments] = book[kComments];
site[kBreadCrumbNavigation] = book[kBreadCrumbNavigation];

// If there is an explicitly set footer use that
if (book[kPageFooter]) {
Expand Down

0 comments on commit 4f1dc59

Please sign in to comment.