search.html (1069B)
1 {{- define "main" }} 2 3 <header class="page-header"> 4 <h1>{{- (printf "%s " .Title ) | htmlUnescape -}} 5 <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" 6 stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> 7 <circle cx="11" cy="11" r="8"></circle> 8 <line x1="21" y1="21" x2="16.65" y2="16.65"></line> 9 </svg> 10 </h1> 11 {{- if .Description }} 12 <div class="post-description"> 13 {{ .Description }} 14 </div> 15 {{- end }} 16 {{- if not (.Param "hideMeta") }} 17 <div class="post-meta"> 18 {{- partial "translation_list.html" . -}} 19 </div> 20 {{- end }} 21 </header> 22 23 <div id="searchbox" class="searchbox"> 24 <input id="searchInput" disabled placeholder="{{ .Params.placeholder | default (printf "%s ↵" .Title) }}" 25 aria-label="search" type="search" autocomplete="off" maxlength="64"> 26 <ul id="searchResults" class="searchResults" aria-label="search results"></ul> 27 </div> 28 29 {{- end }}{{/* end main */}}