Article metadata

Article last updated at August 11, 2026

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

alternate

Links to other language versions of the page.

Each link is specified in <link rel="alternate" hreflang="..." href="..."/>.

During the assembly stage, the array is automatically supplemented with matching links from other documentation languages.

string[]

canonical

Canonical link for page indexing.

Specified in <link rel="canonical" href="..."/>.

If not explicitly specified, the path to the page is automatically added during the assembly stage.

string

copyright

Indicates the owner of the page content.

Specified in <meta name="copyright" content="..."/>.

string

description

Meta description of the page.

Specified in <meta name="description" content="..."/> and in llms.txt.

string

keywords

List of page keywords for search engines.

Specified in <meta name="keywords" content="key1,key2,..."/>.

string[]

interface

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
---
interface:
  toc: false
---

object

metadata

List describing arbitrary meta fields of the article.

The list contains objects of the form:

metadata:
  - name: name 1
    content: content 1
  - http-equiv: http-equiv 2
    content: content 2
  - property: property 3
    content: content 3
...

based on which a set of tags is generated:

<meta name="name 1" content="content 1"/>
<meta http-equiv="http-equiv 2" content="content 2">
<meta property="property 3" content="content 3">

Examples of fields and their possible values can be found in the article on organizing content analytics.

object[]

resources

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.

object

title

Meta title of the page.

Specified in <meta name="title" content="..."/>.

string

See also: Ajv schema of article metadata