mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-24 16:02: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%)
|
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)
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 = . }}
|
||||||
|
|
Loading…
Reference in a new issue