Two URL spaces, one index page... Note

Two URL spaces, one index page, and a ternary whose branches are identical

The code in ArticleLayout.tsx contains a ternary operator with identical branches, indicating a past decision that has since been simplified to a single outcome. This situation arises because Notifio has eight long-form pages distributed across two URL spaces: /guides and /for. These pages, despite their different URLs, are fundamentally the same type of document, addressing a specific problem with a solution and product. The distinction in URLs is based on reader intent: /for/ pages cater to self-identification, while /guides/ pages focus on tasks.A key field, kind, differentiates these pages as either "audience" or "guide." However, the underlying content graph and related links do not strictly adhere to this URL split; links frequently cross between the two domains. This is intentional, as readers navigating between related content do not care about the URL prefix. The system uses a single flat lookup for all articles and a dedicated articleHref function to correctly generate links.A potential issue exists with slug namespace collisions, where identical slugs in both audience and guide collections could lead to one page becoming unreachable. The breadcrumb structure reveals that /guides serves as the de facto index for all eight articles, including those under the /for prefix. Consequently, the breadcrumb ternary remains static as audience pages correctly point to /guides as their parent.The final breadcrumb element's logic, which compares the eyebrow field to the string "Guide," is brittle and should instead rely on the kind discriminator. The canonical URL is passed into the layout component, ensuring consistency between the serving route and structured data. Furthermore, a silent failure occurs when a typo in a related site slug results in an undefined value, leading to a missing link without error; this should be caught by build-time tests. The overarching editorial principle is that content must be valuable independently of product purchase, a standard exemplified by content that even argues against the product.