diff options
author | Sarah German <sgerman@gitlab.com> | 2022-09-22 18:10:42 +0300 |
---|---|---|
committer | Kati Paizee <kpaizee@gitlab.com> | 2022-09-22 18:10:42 +0300 |
commit | 6ef828e917f82a7bd8a621c8a652e3127666ac37 (patch) | |
tree | 62b2f8c2f54d46bda3a58e8c45b1cad2e9777514 /Rules | |
parent | a5ac9d88bd1251c252d53680e8af0df0eef1d743 (diff) |
Add Lunr search UI components
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,6 +39,9 @@ preprocess do item[:title_badge] = badges_filter.run_from_markdown(raw_title.match(BadgesFilter::BADGES_MARKDOWN_PATTERN).to_s) end end + + config[:algolia] = ENV['ALGOLIA_SEARCH'] || 'true' + end compile '/404.*' do |