remove search overrides and revert to theme built-in search

This commit is contained in:
John Bowdre 2022-07-23 14:54:08 -05:00
parent ed6548d5f9
commit ef93ffa20f
4 changed files with 3 additions and 11 deletions

View file

@ -33,11 +33,4 @@ html
border-color: hsl(93, 85%, 32%)
background: hsl(93, 100%, 21%)
// search
.search
max-width: 20rem
margin: 0.4rem 0 0.4rem 0
&_field
background: var(--translucent-light)
color: var(--light)

View file

@ -30,7 +30,7 @@ numberOfRelatedPosts = 6
numberOfFeaturedPosts = 4
toc = true
timeless = false
enableSearch = false
enableSearch = true
## Comments
comments = true

View file

@ -30,9 +30,6 @@
{{- if $centerLogo }}
{{- partial "logo" (dict "logo" $logo "class" "nav_center") }}
{{- end }}
<li class="search">
{{ partial "search/widget" . }}
</li>
{{- partialCached "follow" . }}
</div>
</nav>

View file

@ -1,6 +1,8 @@
{{ $s := site.Params }}
<aside class="sidebar">
<section class="sidebar_inner">
<br>
{{ partial "search/widget" . }}
{{- $introDescription := $s.introDescription }}
{{- with .Params.introDescription }}
{{- $introDescription = . }}