Skip to content

Commit ce95b5e

Browse files
authored
Add cookie popup (#4651)
1 parent 8e500b5 commit ce95b5e

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

ydb/docs/.yfm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ langs: ['en','ru']
33
apply-presets: true
44
allowCustomResources: true
55
resources:
6-
script:
7-
- _assets/gtm.js
86
style:
97
- _assets/tags.css
108

@@ -13,9 +11,9 @@ docs-viewer:
1311
# no-index: true # Remove this after the public release
1412
langs: ['en','ru']
1513
themes: ['light', 'dark']
16-
metrika: 88962303
1714
favicon-src: https://storage.yandexcloud.net/ydb-www-prod-site-assets/favicon-202305/favicon.ico
18-
15+
gtm:
16+
id: GTM-W7ZBL4X
1917
github-url-prefix: https://github.com/ydb-platform/ydb/tree/main/ydb/docs
2018

2119
logo-options:

ydb/docs/en/toc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
title: YDB
2+
analytics:
3+
text: 'We use <a href="https://yandex.com/legal/cookies_policy_eng">cookies</a> to ensure that you have the best experience on our website. If you continue to use our website, we assume that you are happy with it.'
4+
buttons:
5+
accept:
6+
text: "Ok"
7+
theme: "accent"
8+
size: "xl"
29
items:
310
- include: { mode: merge, path: core/toc_m.yaml }

ydb/docs/ru/toc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
title: YDB
2+
analytics:
3+
text: 'Мы используем <a href="https://yandex.ru/legal/cookies_policy">файлы cookie</a>, чтобы вы могли наилучшим образом пользоваться нашим веб-сайтом. Если вы продолжаете использовать наш веб-сайт, мы полагаем, что вы согласны с таким использованием.'
4+
buttons:
5+
accept:
6+
text: "Ок"
7+
theme: "accent"
8+
size: "xl"
29
items:
310
- include: { mode: merge, path: core/toc_m.yaml }

0 commit comments

Comments
 (0)