implemented search module

This commit is contained in:
Sojon
2023-05-29 16:18:54 +06:00
parent ac34bdba00
commit 24de4aa89e
9 changed files with 58 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
[hugoVersion]
extended = true
min = "0.112.3"
min = "0.112.4"
[[imports]]
path = "github.com/gethugothemes/hugo-modules/search"

View File

@@ -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/

View File

@@ -0,0 +1,4 @@
---
title: search
layout: search
---

View File

@@ -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
)

View File

@@ -21,6 +21,7 @@ const purgecss = {
/^:is/,
/^dark/,
/^search/,
/^[aria-selected]/,
/dark/,
/show/,
/dragging/,