Skip to content

Commit

Permalink
🐛 Footer links in single project mode (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Jun 12, 2023
1 parent 9d52cdb commit 2a52251
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-buckets-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/site': patch
---

Footer links for single project mode
2 changes: 1 addition & 1 deletion packages/site/src/loaders/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getFooterLinks(
projectSlug?: string,
slug?: string,
): FooterLinks {
if (!projectSlug || !slug || !config) return {};
if (!slug || !config) return {};
const pages = getProjectHeadings(config, projectSlug, {
addGroups: true,
});
Expand Down

0 comments on commit 2a52251

Please sign in to comment.