From 7a29e3c192b4ec624e083c9a8fea4cc0537e9bb9 Mon Sep 17 00:00:00 2001 From: emil Date: Mon, 11 May 2026 20:52:27 +0300 Subject: [PATCH] feat: integrate Yandex RTB ad block R-A-19259130-1 --- src/components/YandexRTB.astro | 10 ++++++++++ src/layouts/BaseLayout.astro | 3 +++ src/layouts/GeneratorLayout.astro | 4 ++-- src/pages/index.astro | 4 ++-- src/pages/ru/index.astro | 4 ++-- 5 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 src/components/YandexRTB.astro diff --git a/src/components/YandexRTB.astro b/src/components/YandexRTB.astro new file mode 100644 index 0000000..3ea5664 --- /dev/null +++ b/src/components/YandexRTB.astro @@ -0,0 +1,10 @@ + +
+ diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index d39ecde..0b88247 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -55,6 +55,9 @@ const webPageSchema = { + + + {title} diff --git a/src/layouts/GeneratorLayout.astro b/src/layouts/GeneratorLayout.astro index 9593c4e..775d2be 100644 --- a/src/layouts/GeneratorLayout.astro +++ b/src/layouts/GeneratorLayout.astro @@ -1,6 +1,6 @@ --- import BaseLayout from "./BaseLayout.astro"; -import AdBanner from "../components/AdBanner.astro"; +import YandexRTB from "../components/YandexRTB.astro"; import SeoBlock from "../components/SeoBlock.astro"; import { useT } from "../i18n/translations"; import type { Lang } from "../i18n/translations"; @@ -115,7 +115,7 @@ const breadcrumbSchema = {
- +
- +
- +