From ef93ffa20f5e7d07960e6ad6c138670bd8cf4edc Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 23 Jul 2022 14:54:08 -0500 Subject: [PATCH] remove search overrides and revert to theme built-in search --- assets/sass/_override.sass | 7 ------- config/_default/params.toml | 2 +- layouts/partials/header.html | 3 --- layouts/partials/sidebar.html | 2 ++ 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/assets/sass/_override.sass b/assets/sass/_override.sass index b7800d1..cae925a 100644 --- a/assets/sass/_override.sass +++ b/assets/sass/_override.sass @@ -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) diff --git a/config/_default/params.toml b/config/_default/params.toml index fc6283c..9dc3e49 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -30,7 +30,7 @@ numberOfRelatedPosts = 6 numberOfFeaturedPosts = 4 toc = true timeless = false -enableSearch = false +enableSearch = true ## Comments comments = true diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7bbf4d6..a348b6e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -30,9 +30,6 @@ {{- if $centerLogo }} {{- partial "logo" (dict "logo" $logo "class" "nav_center") }} {{- end }} - {{- partialCached "follow" . }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8bf4c3c..cc775e9 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,6 +1,8 @@ {{ $s := site.Params }}