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%) border-color: hsl(93, 85%, 32%)
background: hsl(93, 100%, 21%) 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 numberOfFeaturedPosts = 4
toc = true toc = true
timeless = false timeless = false
enableSearch = false enableSearch = true
## Comments ## Comments
comments = true comments = true

View file

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

View file

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