From 0e476cd71b34c8189fb4685d89f6d9e6f5bdd88f Mon Sep 17 00:00:00 2001 From: Freddy <1391977+f-ewald@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:55:37 -0700 Subject: [PATCH] Add support for lazy loading (#1) * Add support for lazy loading * Newline * Link to rubygems * Remove debug logging --- CHANGELOG | 6 +++++ README.md | 27 ++++++++++++++++++--- lib/search.js | 66 +++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 84 insertions(+), 15 deletions(-) create mode 100644 CHANGELOG diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..c30f867 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,6 @@ +# 0.0.3 +* Added support for lazy data loading via `lazy` attribute. +* Performance improvement for placeholder calculation + +# 0.0.2 +* First working release diff --git a/README.md b/README.md index 02a517f..d026ded 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A plugin for Jekyll to search for all posts and rank them by relevance. Relevanc ## Installation -Install the plugin via `bundler` in the latest version: +Install the plugin via `bundler` from [rubygems](https://rubygems.org/gems/jekyll_ranked_search) in the latest version: ```shell bundle add jekyll_ranked_search @@ -27,10 +27,31 @@ In your template, add the following lines: - + ``` You only need to add the `