---
url: https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/
title: "Chapters Config\n                #"
description: "The Chapters Config object provides a structure for managing pages, blogs, and landing pages of your website. This configuration enables functionality such as c"
lang: uk
updated: 2026-09-11T09:04:05.648Z
---

# Chapters Config [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#chapters-config)

The `Chapters Config` object provides a structure for managing pages, blogs, and landing pages of your website. This configuration enables functionality such as creating pages, displaying blogs, managing comments, and generating news feeds.

## Chapters Config Structure [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#chapters-config-structure)

### Pages [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#pages)

The Pages section handles the configuration of the website's pages.

### **Properties:** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#properties)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `app_id` | `number` | The application ID in GudHub that contains the pages. |
| `slug_field_id` | `number` | Field ID for storing the page's URL slug. |
| `json_field_id` | `number` | Field ID for the page's JSON structure. |
| `title_field_id` | `number` | Field ID for the page's title. |
| `heading_field_id` | `number` | Field ID for the main heading. |
| `description_field_id` | `number` | Field ID for the page's description. |
| `blog_main_page_item_id` | `number` | The item ID of the blog's main page. |
| `image_field_id` | `number` | Field ID for the page's image. |

---

### **Blog** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#blog)

The Blog section configures the blog's appearance and functionality.

#### **Properties:** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#properties-1)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `app_id` | `number` | The application ID for the blog. |
| `slug_field_id` | `number` | Field ID for the article's URL slug. |
| `title_field_id` | `number` | Field ID for the article's title. |
| `heading_field_id` | `number` | Field ID for the article's main heading. |
| `description_field_id` | `number` | Field ID for the article's description. |
| `intro_field_id` | `number` | Field ID for the article's introductory text. |
| `content_field_id` | `number` | Field ID for the article's main content. |
| `type_field_id` | `number` | Field ID for the article's type. |
| `status_field_id` | `number` | Field ID for the article's status. |
| `categories_list_field_id` | `number` | Field ID for the list of categories. |
| `article_post_date_field_id` | `number` | Field ID for the article's publication date. |
| `article_authorRef` | `number` | Field ID for the article's author reference. |
| `article_ratings_field_id` | `number` | Field ID for the article's ratings. |

---

### **Comments Configuration** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#comments-configuration)

#### **Properties:** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#properties-2)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `comments_app_id` | `number` | Application ID for comments. |
| `comments_status_field_id` | `number` | Field ID for the comment status. |
| `comments_replyToRef_field_id` | `number` | Field ID for the parent comment reference. |
| `comments_articleRef_field_id` | `number` | Field ID for the article reference. |
| `comments_date_field_id` | `number` | Field ID for the comment's date. |

---

### **Landings** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#landings)

The Landings section manages the configuration for landing pages.

#### **Properties:** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/chapters-config/#properties-3)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `app_id` | `number` | Application ID for landing pages. |
| `slug_field_id` | `number` | Field ID for the landing page's URL slug. |
| `title_field_id` | `number` | Field ID for the landing page's title. |
| `description_field_id` | `number` | Field ID for the landing page's description. |
| `html_template_field_id` | `number` | Field ID for the landing page's HTML template. |
| `json_field_id` | `number` | Field ID for the landing page's JSON configuration. |
| `image_field_id` | `number` | Field ID for the landing page's image. |

Копировать

```javascript
export const chapters = {
    pages: {
        app_id: number,
        slug_field_id: number,
        json_field_id: number,
        title_field_id: number,
        heading_field_id: number,
        description_field_id: number,
        blog_main_page_item_id: number, // item_id of blog main page (in application Pages, so this page relate to chapter - pages)
        image_field_id: number
    },
    blog: {
        app_id: number,
        slug_field_id: number,
        title_field_id:  number,
        heading_field_id:  number,
        description_field_id:  number,
        intro_field_id:  number,
        content_field_id:  number,
        
        type_field_id:  number,
        status_field_id:  number,
        categories_list_field_id:  number,

        article_post_date_field_id:  number,
        article_authorRef:  number,
        article_ratings_field_id: number,

        comments_app_id:  number,
        comments_status_field_id:  number,
        comments_replyToRef_field_id:  number,
        comments_articleRef_field_id:  number,
        comments_date_field_id:  number,

        api_app_id: number
    },
    landings: {
        app_id: number,
        slug_field_id: number,
        title_field_id: number,
        description_field_id: number,
        html_template_field_id: number,
        json_field_id: number,
        image_field_id: number
    }
};
```
