diff --git a/docs/1-getting-started/2-making-a-hero-section/README.md b/docs/1-getting-started/2-making-a-hero-section/README.md index a89461d3..9ffd6077 100644 --- a/docs/1-getting-started/2-making-a-hero-section/README.md +++ b/docs/1-getting-started/2-making-a-hero-section/README.md @@ -62,8 +62,10 @@ _Picture by [Appolinary Kalashnikova](https://unsplash.com/@appolinary_kalashnik Click **Save** and see the new hero section in the content tree: -> No rendering set for node: herosection
-> Types: [hydrogen:heroSection] +``` +No rendering set for node: herosection +Types: [hydrogen:heroSection] +``` This error message means that Jahia doesn't know how to render the `heroSection` node type: we haven't implemented the rendering logic yet. We'll do that next. diff --git a/docs/1-getting-started/3-the-about-us-page/README.md b/docs/1-getting-started/3-the-about-us-page/README.md index d1a35b34..3300205e 100644 --- a/docs/1-getting-started/3-the-about-us-page/README.md +++ b/docs/1-getting-started/3-the-about-us-page/README.md @@ -99,8 +99,10 @@ In `Header/default.server.tsx`, replace the current ` This additional property, `view`, defines the view that should be used when Jahia renders the `heroSection` component. We haven't created the `small` view yet, if you refresh your page right now you will see an error message instead: -> No rendering set for node: herosection
-> Types: [hydrogen:heroSection] +``` +No rendering set for node: herosection +Types: [hydrogen:heroSection] +``` Start by adding a file named `src/components/Hero/Section/types.ts` and move `Props` to it: diff --git a/docs/1-getting-started/5-view-content-in-full-page/README.md b/docs/1-getting-started/5-view-content-in-full-page/README.md index 4f067ddb..415a04c3 100644 --- a/docs/1-getting-started/5-view-content-in-full-page/README.md +++ b/docs/1-getting-started/5-view-content-in-full-page/README.md @@ -148,4 +148,4 @@ In JCR, everything is a node, i.e. an entity of a tree designated by a path. The There is a lot more to learn about URL building and JCR exploration, and it's the topic of the next section. -Next: [Building a Navigation Bar](building-a-nav-bar) +Next: [Building a Navigation Bar](building-a-navigation-bar)