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

Add FlexSearch plugin with search functionality for Nikola sites #441

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

dacog
Copy link
Contributor

@dacog dacog commented Jun 28, 2024

Hi,

This commit introduces a new FlexSearch plugin that provides search functionality for Nikola static sites.

The plugin generates a JSON file containing article data, which is used with FlexSearch to enable search capabilities on the site. It includes instructions on how to implement search results in a div or an overlay. Also, contains added configuration options in a sample conf.py.sample file which allows users to customize according to their needs.

Here is an example image of the search:

example_overlay

I hope this time I didn't forget anything.

Best,

Diego

v8/flexsearch_plugin/README.md Show resolved Hide resolved
This commit introduces a new FlexSearch plugin that provides search functionality for Nikola static sites. The plugin generates a JSON file containing article data, which is used with FlexSearch to enable search capabilities on the site. It includes instructions on how to implement search results in a div or an overlay. Also, contains added configuration options in a sample `conf.py.sample` file which allows users to customize according to their needs.
…elative and did not work anywhere other than /. Now it works)

Updated CSS  for the search results in `flexsearch_plugin/README.md` to align to left, and add a background on hover.

Updated example image
@Kwpolska Kwpolska force-pushed the feature/add-flexsearch-plugin branch from da6b051 to c46ef79 Compare June 28, 2024 21:55
@Kwpolska Kwpolska merged commit 23d373f into getnikola:master Jun 28, 2024
7 checks passed
@Kwpolska
Copy link
Member

Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants