Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cookie popup #4651

Merged
merged 5 commits into from
May 22, 2024
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
6 changes: 2 additions & 4 deletions ydb/docs/.yfm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ langs: ['en','ru']
apply-presets: true
allowCustomResources: true
resources:
script:
- _assets/gtm.js
style:
- _assets/tags.css

Expand All @@ -13,9 +11,9 @@ docs-viewer:
# no-index: true # Remove this after the public release
langs: ['en','ru']
themes: ['light', 'dark']
metrika: 88962303
favicon-src: https://storage.yandexcloud.net/ydb-www-prod-site-assets/favicon-202305/favicon.ico

gtm:
id: GTM-W7ZBL4X
github-url-prefix: https://github.com/ydb-platform/ydb/tree/main/ydb/docs

logo-options:
Expand Down
7 changes: 7 additions & 0 deletions ydb/docs/en/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
title: YDB
analytics:
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.'
buttons:
accept:
text: "Ok"
theme: "accent"
size: "xl"
items:
- include: { mode: merge, path: core/toc_m.yaml }
7 changes: 7 additions & 0 deletions ydb/docs/ru/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
title: YDB
analytics:
text: 'Мы используем <a href="https://yandex.ru/legal/cookies_policy">файлы cookie</a>, чтобы вы могли наилучшим образом пользоваться нашим веб-сайтом. Если вы продолжаете использовать наш веб-сайт, мы полагаем, что вы согласны с таким использованием.'
buttons:
accept:
text: "Ок"
theme: "accent"
size: "xl"
items:
- include: { mode: merge, path: core/toc_m.yaml }
Loading