Basic Page
Description
The Basic Page is typically used for content that is static, or rarely changes. An example commonly found on websites is an About Us page. These types of pages are most commonly linked to the menu bars within your website.
Fields
Name | Type | Default Value | Multiple | Required | Validation |
---|---|---|---|---|---|
Title | Text (Plain) | No | Yes | ||
Paragraphs | Paragraph | Yes | Yes |
Nextjs Get
const homepage = await drupal.getResource<DrupalNode>(
"node--page",
"7fca8435-d06a-4e28-952a-40f38d7ad7d8",
{
params: {
include: "field_content , field_content.field_image, field_content.field_image.field_media_image, field_tags, field_teaser_image"
},
}
);
console.log(homepage);