# Content relationships

Reuse one story across pages

A related-content block stores story references, not copied text. Updating a note changes every page that references it.

## Resolve references on the server

The page keeps UUIDs in Storyblok. Next.js loads the referenced stories in the same language and publication version.

```typescript
  const uuids = relatedUuids(data.story.content);
  if (uuids.length) {
    const stories = await fetchRelatedStories(uuids, language, version);
    data.story.content = attachRelatedNotes(data.story.content, stories, language);
  }
```

Resolve, then preserve editorial order.

[src/lib/fetch-story.ts](https://github.com/marcop135/nextstory/blob/main/src/lib/fetch-story.ts)

Canonical: https://nextstory.marcopontili.com/content-relationships
Content source: storyblok; published representation.
