Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve search file #418

Merged
merged 6 commits into from
Dec 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update documentation
  • Loading branch information
sylhare committed Dec 16, 2023
commit 4dbb110a07a719e38a0acb26b703e952bca110c9
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,12 @@ gallery: "assets/img/pexels"

The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search)
there is a `search.liquid` file that will create a list of all the site posts, pages and portfolios.
Then there's a script displaying the formatted results in the _search page_.

Then there's a `search.js` displaying the formatted results in the "search" page.

The search page can be hidden with the `hide` option. You can remove the icon by removing `icon`:
To exclude contents from the search add the `exclude: true` option in the markdown header.
By default, all posts, pages, and collections are available in the search.
Hide the search page from the navigation bar with the `hide: true` option.
You can remove the icon by removing `icon`:

```yml

Expand Down
Loading