diff --git a/assets/scss/components.scss b/assets/scss/components.scss
index 85db8aa..ecc4fc9 100755
--- a/assets/scss/components.scss
+++ b/assets/scss/components.scss
@@ -1,3 +1,7 @@
+main {
+ min-height: 70vh;
+}
+
// section style
.section {
@apply py-24 xl:py-28;
diff --git a/assets/scss/module-overrides.scss b/assets/scss/module-overrides.scss
index b0829c9..6df6a90 100644
--- a/assets/scss/module-overrides.scss
+++ b/assets/scss/module-overrides.scss
@@ -50,6 +50,14 @@
.search-wrapper-body {
@apply dark:bg-darkmode-theme-light dark:shadow-none;
}
+ &.search-page {
+ .search-wrapper-body {
+ @apply dark:bg-transparent;
+ }
+ }
+ .search-result-info em {
+ @apply dark:text-white;
+ }
.search-result-item {
@apply dark:bg-darkmode-body dark:border-darkmode-border p-4;
.search-title {
@@ -58,10 +66,10 @@
u {
@apply dark:text-darkmode-primary;
}
- // &:focus,
- // &[aria-selected="true"],
- // &:hover {
- // @apply dark:bg-darkmode-primary/10;
- // }
+ &:focus,
+ &[aria-selected="true"],
+ &:hover {
+ @apply dark:bg-darkmode-primary/10;
+ }
}
}
diff --git a/exampleSite/config/_default/module.toml b/exampleSite/config/_default/module.toml
index 9bdee52..e147378 100644
--- a/exampleSite/config/_default/module.toml
+++ b/exampleSite/config/_default/module.toml
@@ -1,6 +1,6 @@
[hugoVersion]
extended = true
-min = "0.112.3"
+min = "0.112.4"
[[imports]]
path = "github.com/gethugothemes/hugo-modules/search"
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index edda6ce..f820255 100755
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -19,8 +19,6 @@ theme_switcher = true
theme_default = "dark" # available options [light/dark/system]
# Main Sections
mainSections = ["blog"]
-# image gallery shortcode
-image_gallery = true
# contact form action
contact_form_action = "#" # contact form works with [https://airform.io/] or [https://formspree.io]
# google tag manager, see https://developers.google.com/tag-manager/
diff --git a/exampleSite/content/english/search.md b/exampleSite/content/english/search.md
new file mode 100644
index 0000000..74423bf
--- /dev/null
+++ b/exampleSite/content/english/search.md
@@ -0,0 +1,4 @@
+---
+title: search
+layout: search
+---
\ No newline at end of file
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
index 52d7b92..18618f1 100644
--- a/exampleSite/go.mod
+++ b/exampleSite/go.mod
@@ -3,27 +3,27 @@ module hugoplate.netlify.app
go 1.20
require (
- github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/images v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/modal v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/search v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/shortcodes/codepen v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/tab v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230525102148-b021562ad2b0 // indirect
- github.com/gethugothemes/hugo-modules/videos v0.0.0-20230525102148-b021562ad2b0 // indirect
+ github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/images v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/modal v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/search v0.0.0-20230529101731-b0c7eb0ba4f8 // indirect
+ github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/shortcodes/codepen v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/tab v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230529094337-51de68b32b0a // indirect
+ github.com/gethugothemes/hugo-modules/videos v0.0.0-20230529094337-51de68b32b0a // indirect
)
diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js
index 07edc4c..aa3b810 100644
--- a/exampleSite/postcss.config.js
+++ b/exampleSite/postcss.config.js
@@ -21,6 +21,7 @@ const purgecss = {
/^:is/,
/^dark/,
/^search/,
+ /^[aria-selected]/,
/dark/,
/show/,
/dragging/,
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e18bd56..37acd93 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -20,9 +20,8 @@
{{ else }}
{{ partial "preloader.html" . }}
-
- {{ partialCached "components/tw-size-indicator.html" . }}
+ {{ partial "components/tw-size-indicator.html" . }}
{{ end }}
@@ -30,7 +29,6 @@
{{ partial "essentials/header.html" . }}
{{ partial "search-modal.html" (dict "Context" . ) }}
-