move search.md
add search bar to search page fix bing anchors
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
{{ $p := . }}
|
||||
{{ $home := site.Home }}
|
||||
{{ $docs := site.GetPage "section" "docs" }}
|
||||
{{ $menuSections := (where $docs.Sections ".Params.main_menu" true) }}
|
||||
{{ range $menuSections }}
|
||||
{{ if $p.IsDescendant . }}
|
||||
<h1>{{ if not (strings.Contains .Path "home")}}{{ .Params.bigheader | default .Title }}{{ end }}</h1>
|
||||
<h5>{{ .Params.abstract }}</h5>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div id="vendorStrip" class="light-text">
|
||||
<ul>
|
||||
{{ range $menuSections }}
|
||||
{{ $yah := $p.IsDescendant . }}
|
||||
<li><a href="{{ .RelPermalink }}"{{ if $yah }} class="YAH"{{ end }} data-proofer-ignore>{{ .LinkTitle | upper }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<form id="searchBox" action="/docs/search/" role="search">
|
||||
<input type="text" id="search" name="q" placeholder="{{ T "ui_search_placeholder" }}" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user