feat: remove the site-searchbar shortcode
parent
f07bfe51d0
commit
33d1ee9401
|
@ -9,7 +9,6 @@ Do not use the `search-results-search` id elsewhere as it is used
|
|||
delete this element for pagefind/China users
|
||||
*/}}
|
||||
|
||||
{{/* From shortcodes/site-searchbar.html which is used in the home page */}}
|
||||
<div id="search-results-search" class="col-sm-6 col-md-6 col-lg-6 mx-auto py-3">
|
||||
{{partial "search-input" .}}
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
{{ define "main" }}
|
||||
{{ if .HasShortcode "site-searchbar" }}
|
||||
{{ warnf "The homepage of the language %s is using a deprecated shortcode site-searchbar. Please remove the shortcode. No other step is needed." .Lang }}
|
||||
{{ else }}
|
||||
<div class="col-sm-6 col-md-6 col-lg-6 mx-auto py-3">
|
||||
{{partial "search-input" .}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
<section id="cncf">
|
||||
{{ partial "cncf.html" . }}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<div class="col-sm-6 col-md-6 col-lg-6 mx-auto py-3">
|
||||
{{partial "search-input" .}}
|
||||
</div>
|
Loading…
Reference in New Issue