Article metadata
Metadata is markup elements used to store settings for a specific article, SEO information, or document author details in the source text. They are not displayed in the assembled article but can affect its assembly.
In md files, metadata is added in YAML format at the beginning of the file (this part of the file is called frontmatter).
In yaml files with Page constructor pages and leading pages — directly into the root object.
Example:
---
title: Заголовок
description: Описание
---
# Заголовок статьи
Текст статьи ......
Supported parameters:
|
Name |
Description |
Type and default value |
|
|
Links to other language versions of the page. Each link is specified in During the assembly stage, the array is automatically supplemented with matching links from other documentation languages. |
— |
|
|
Canonical link for page indexing. Specified in If not explicitly specified, the path to the page is automatically added during the assembly stage. |
— |
|
|
Indicates the owner of the page content. Specified in |
— |
|
|
Meta description of the page. Specified in |
— |
|
|
List of page keywords for search engines. Specified in |
— |
|
|
Section with interface display settings. Overrides the settings from the same-named section of .yfm for the current page. Example with disabling the table of contents on the page
|
— |
|
|
List describing arbitrary meta fields of the article. The list contains objects of the form:
based on which a set of tags is generated:
Examples of fields and their possible values can be found in the article on organizing content analytics. |
— |
|
|
Section for managing page resources. Overrides the resources settings from the resources section of .yfm. Warning Only extending the list of values in csp is supported. |
— |
|
|
Meta title of the page. Specified in |
— |
See also: Ajv schema of article metadata