From 3b43bb9fbe661cb35201082fca9b0924da22bb03 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 30 Dec 2023 16:39:52 -0500 Subject: config: Punt search verification entries --- config.json | 7 ++++--- config.yaml | 7 ++++--- themes/default/layouts/partials/base-search.html | 14 ++++---------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/config.json b/config.json index 5234cb5..5643e14 100644 --- a/config.json +++ b/config.json @@ -148,9 +148,10 @@ }, "search": { "verification": { - "google": null, - "bing": null, - "yandex": null + "baidu-site-verification": null, + "google-site-verification": null, + "msvalidate.01": null, + "yandex-verification": null } } }, diff --git a/config.yaml b/config.yaml index cd5b917..5d9baf3 100644 --- a/config.yaml +++ b/config.yaml @@ -96,9 +96,10 @@ params: style-src: ["'self'", "'unsafe-inline'", http://preview.test] search: verification: - google: - bing: - yandex: + baidu-site-verification: + google-site-verification: + msvalidate.01: + yandex-verification: related: includeNewer: false diff --git a/themes/default/layouts/partials/base-search.html b/themes/default/layouts/partials/base-search.html index 1bfed6c..89113ab 100644 --- a/themes/default/layouts/partials/base-search.html +++ b/themes/default/layouts/partials/base-search.html @@ -1,11 +1,5 @@ -{{- with .Site.Params.search.verification.google -}} - -{{ end }} - -{{- with .Site.Params.search.verification.bing -}} - -{{ end }} - -{{- with .Site.Params.search.verification.yandex -}} - +{{- with .Site.Params.search.verification -}} +{{- range $name, $content := . }} + +{{- end }} {{ end }} -- cgit v1.2.3