mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-12-22 11:12:18 +00:00
remove search overrides and revert to theme built-in search
This commit is contained in:
parent
ed6548d5f9
commit
ef93ffa20f
4 changed files with 3 additions and 11 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ numberOfRelatedPosts = 6
|
|||
numberOfFeaturedPosts = 4
|
||||
toc = true
|
||||
timeless = false
|
||||
enableSearch = false
|
||||
enableSearch = true
|
||||
|
||||
## Comments
|
||||
comments = true
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 = . }}
|
||||
|
|
Loading…
Reference in a new issue