mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-12 14:53:36 +00:00
search: remove warning for deprecated JSON output format #1017
This commit is contained in:
parent
a3e0b7f4f4
commit
adb82b040f
2 changed files with 1 additions and 4 deletions
|
@ -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 }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
7.3.2+5d9a90b18744ca0ff908e78c4243865edf040c43
|
||||
7.3.2+a3e0b7f4f469703ed2fec432b332f17e0066d70a
|
Loading…
Add table
Reference in a new issue