summaryrefslogtreecommitdiffci
path: root/internal
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-03 00:09:23 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-03 00:09:23 +0700
commit3483fdac0c40df7e390a941431b9e99f5a6de687 (patch)
treec5b763d5db76920845e89b6c6e5eb8de5554136e /internal
parentcca3ff72b5e29b31122c0a0496be741e7bc0162b (diff)
downloadweb-3483fdac0c40df7e390a941431b9e99f5a6de687.tar.gz
web-3483fdac0c40df7e390a941431b9e99f5a6de687.zip
feat: add yandex verification code
Diffstat (limited to 'internal')
-rw-r--r--internal/router/handlers/root.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/router/handlers/root.go b/internal/router/handlers/root.go
index a8890fa..6a011e4 100644
--- a/internal/router/handlers/root.go
+++ b/internal/router/handlers/root.go
@@ -50,6 +50,9 @@ func (r *RootHandler) AddMeta(c *fiber.Ctx, supplements *router.Supplements, lan
if supplements.Meta.GoogleSiteVerification != "" {
meta = append(meta, router.MetaField{Name: "google-site-verification", Content: supplements.Meta.GoogleSiteVerification})
}
+ if supplements.Meta.YandexVerification != "" {
+ meta = append(meta, router.MetaField{Name: "yandex-verification", Content: supplements.Meta.YandexVerification})
+ }
return meta, nil
}