diff options
| author | 2026-05-03 00:23:12 +0700 | |
|---|---|---|
| committer | 2026-05-03 00:23:12 +0700 | |
| commit | 82353c59737d173776822d8e4255802bf7ac5685 (patch) | |
| tree | c5b763d5db76920845e89b6c6e5eb8de5554136e /internal/router/handlers/root.go | |
| parent | d8de4ede8c6a0cc02b9c8c30d68155b1f838254c (diff) | |
| parent | 3483fdac0c40df7e390a941431b9e99f5a6de687 (diff) | |
| download | web-0.14.1.tar.gz web-0.14.1.zip | |
v0.14.1 (#28)v0.14.1
* [feat: add yandex verification
code](https://github.com/SayaAndy/saya-today-web/commit/3483fdac0c40df7e390a941431b9e99f5a6de687)
Diffstat (limited to 'internal/router/handlers/root.go')
| -rw-r--r-- | internal/router/handlers/root.go | 3 |
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 } |