在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:algolia/jekyll-algolia开源软件地址:https://github.com/algolia/jekyll-algolia开源编程语言:Ruby 64.8%开源软件介绍:Jekyll Algolia PluginAdd fast and relevant search to your Jekyll site.
Usage$ bundle exec jekyll algolia This will push the content of your Jekyll website to your Algolia index. DocumentationFull documentation can be found on https://community.algolia.com/jekyll-algolia/ InstallationThe plugin requires at least Jekyll 3.6.0 and Ruby 2.3.0. First, add the # Gemfile
group :jekyll_plugins do
gem 'jekyll-algolia', '~> 1.0'
end Once this is done, download all dependencies with Basic configurationYou need to provide certain Algolia credentials for this plugin to index your site. If you don't yet have an Algolia account, we suggest that you open a free Community plan here. You can find more information about the Algolia plans in our FAQ. Once signed in, you should get your application ID from your dashboard and
define it inside your # _config.yml
algolia:
application_id: 'your_application_id' Run itOnce your application ID is setup, you can run the indexing by running the following command: ALGOLIA_API_KEY='your_admin_api_key' bundle exec jekyll algolia Note that More about the Community planThe Algolia Community plan lets you host up to 10k records and perform up to 100k add/edit/delete operations per month (search operations are free). The plan is entirely free, with no time limit. What we ask in exchange is that you display a "Search by Algolia" logo next to your search results. Our InstantSearch libraries have a simple boolean option to toggle that on an off. If you want more flexibility, you can find all versions of our logo here. If you need more information about the other Algolia plans, you can check our FAQ. ThanksThanks to Anatoliy Yastreb for a great tutorial on creating Jekyll plugins. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论