diff --git a/sites/shared/components/mdx/read-more.mjs b/sites/shared/components/mdx/read-more.mjs
index 9af3fc62ce4..e96798ee086 100644
--- a/sites/shared/components/mdx/read-more.mjs
+++ b/sites/shared/components/mdx/read-more.mjs
@@ -26,9 +26,10 @@ const onActivePath = (slug, active) => (active ? active.slice(0, slug.length) ==
* This is a recursive function, so it needs to be lean
*/
const RenderTree = ({ tree, recurse, depth = 1, level = 0, active = false }) => {
- const orderedTree = orderBy(tree, ['o', 't'], ['asc', 'asc']).filter(
- (item) => typeof item === 'object'
- )
+ const orderedTree = orderBy(tree, ['o', 't'], ['asc', 'asc'])
+ .filter((item) => typeof item === 'object')
+ .filter((item) => !item.h)
+ .filter((item) => !item._)
return (
diff --git a/sites/shared/prebuild/sitenav-org.mjs b/sites/shared/prebuild/sitenav-org.mjs
index 7d39eb29a2a..9eac44a9a4d 100644
--- a/sites/shared/prebuild/sitenav-org.mjs
+++ b/sites/shared/prebuild/sitenav-org.mjs
@@ -198,15 +198,12 @@ export const extendSiteNav = async (siteNav, lang) => {
h: 1,
t: t('patrons:freeSewingPatrons'),
join: {
- _: 1,
- s: 'join',
- h: 1,
- t: t('patrons:joinPatrons'),
+ s: 'patrons/join',
+ t: t('patrons:joinThePatrons'),
},
thanks: {
_: 1,
s: 'thanks',
- h: 1,
t: t('patrons:thankYouVeryMuch'),
},
}
@@ -219,7 +216,7 @@ export const extendSiteNav = async (siteNav, lang) => {
t: t('patrons:donate'),
thanks: {
_: 1,
- s: 'thanks',
+ s: 'patrons/thanks',
h: 1,
t: t('patrons:thankYouVeryMuch'),
},
diff --git a/sites/shared/utils.mjs b/sites/shared/utils.mjs
index 84e8ce1ff14..8dff35b9390 100644
--- a/sites/shared/utils.mjs
+++ b/sites/shared/utils.mjs
@@ -339,7 +339,7 @@ export const hasRequiredMeasurements = (Design, measies = {}, DesignIsMeasuremen
* and then check if there are any left. If there are, those are child-pages.
*/
export const pageHasChildren = (page) =>
- Object.keys(page).filter((key) => !['t', 's', 'o', 'b', 'h'].includes(key)).length > 0
+ Object.keys(page).filter((key) => !['t', 's', 'o', 'b', 'h', '_'].includes(key)).length > 0
/*
* Returns the slug of the page above this one