Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions en/project/meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,30 @@ Only extending the list of values in [##csp##](../settings.md#resources-csp) is

| `object`

— ||
|| `tags` | List of page tags. After the build, tags are displayed below the article and added to the HTML as separate `<meta property="article:tag" content="...">` elements.

If [search](./search.md) is configured for the project, each tag links to related articles. On the search page, you can select several tags; the results include articles that have at least one of them.

During processing, tags are converted to lowercase, surrounding whitespace is removed, and duplicate values are merged. A tag can contain up to 32 characters.

Tags that start with `_` are considered technical. They are not displayed below the article, added to the HTML as `article:tag`, or used in search.

{% cut "Example" %}

```yaml
---
title: Working with tables
tags:
- Markdown
- Tables
---
```

{% endcut %}

| `string[]`

— ||
|| `title` | Meta title of the page.

Expand Down
24 changes: 24 additions & 0 deletions ru/project/meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,30 @@ metadata:

| `object`

— ||
|| `tags` | Список тегов страницы. После сборки теги отображаются под текстом статьи и добавляются в HTML как отдельные элементы `<meta property="article:tag" content="...">`.

Если в проекте настроен [поиск](./search.md), по тегу можно перейти к связанным с ним статьям. На странице поиска можно выбрать несколько тегов: в результаты попадут статьи хотя бы с одним из них.

При обработке теги приводятся к нижнему регистру, пробелы по краям удаляются, а повторяющиеся значения объединяются. Максимальная длина тега — 32 символа.

Теги, начинающиеся с `_`, считаются техническими. Они не отображаются под статьёй, не добавляются в HTML как `article:tag` и не участвуют в поиске.

{% cut "Пример" %}

```yaml
---
title: Работа с таблицами
tags:
- Markdown
- Таблицы
---
```

{% endcut %}

| `string[]`

— ||
|| `title` | Мета-заголовок страницы.

Expand Down