From adb82b040f7cda6de4d78892bb580a62f248d5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 12 Feb 2025 13:22:03 +0100 Subject: [PATCH] search: remove warning for deprecated JSON output format #1017 --- layouts/partials/search.html | 3 --- layouts/partials/version.txt | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 8d45ee2a76..d8e29b2157 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,9 +1,6 @@ {{- if not .Site.Params.disableSearch }} {{- $assetBusting := partialCached "assetbusting.gotmpl" . }} {{- $link := "" }} - {{- with .Site.Home.OutputFormats.Get "json" }} - {{- warnf "UNSUPPORTED usage of 'json' output format found, remove it from your config; see https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/7/#7-0-0" }} - {{- end }} {{- with .Site.Home.OutputFormats.Get "search" }} {{- warnf "UNSUPPORTED usage of 'search' output format found, remove it from your config; see https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/7/#7-0-0" }} {{- end }} diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index d657b53807..efbb1a11e3 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.3.2+5d9a90b18744ca0ff908e78c4243865edf040c43 \ No newline at end of file +7.3.2+a3e0b7f4f469703ed2fec432b332f17e0066d70a \ No newline at end of file