Adding the native search plugin to a custom index.md page #5609
Unanswered
ShKhannanov
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Thanks for asking. If you would provide a minimal example of what you're trying to do, we can look into it. Without an example we can run, we can only guess what might be wrong. One thing might be that you're missing the search bar from the header partial. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am using an
index.md
that uses a customindex.html
template. Myindex.html
has a custom header as well as custom stylesheets and scripts.At the moment, my
index.md
does not display the native search functionality offered by the Materialsearch
plugin. I suspect that's because myindex.html
is completely overriding the header. However, I cannot figure out any solutions for keeping the custom header and still introducing the functionality offered by thesearch
plugin at least somewhere on the page.Is it even possible? And if yes, are there any good examples of it being done?
Beta Was this translation helpful? Give feedback.
All reactions