bookends 10.1.0 → 10.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81c4387af481e78cc4b66299be2db97291b0619c16b4d48cc70427d2b9b3caf2
4
- data.tar.gz: c6539d9a2019edb6d4a3ef07245ea15b8cc5202295b9ba6ec9ebdc1cce503b9d
3
+ metadata.gz: aba10072411aecdbd351392e444e269cca46b36327e5631508567d6816ff808d
4
+ data.tar.gz: bc6ba21a2a3f904e24d8dfe2344747222b962ff1ceb7857f4e21460e06718e8f
5
5
  SHA512:
6
- metadata.gz: c4db31e1dc1332a152799e8b4e3ede650bbb0ffa1150307b91213295a4dbcb66a591d78861c5bf9c24bbbe2b32652fda19bd85831b7deee537a96e72df1ae004
7
- data.tar.gz: 566f1fa915d9a5f3b0a506ab5f97b3bbed9eef14ea1d3eeb538a6ab9b9e2eeee19e2dc037cdc91a38cd8256bf91241f7d9b267dc0f856e6e340fc4f5a89b009b
6
+ metadata.gz: 250483664e71b5b89b87ae54787f3a138e4c8d145edc6e9fd5e44c8c024608e4c040dc6c1d48ce79d1d01858d77136e8b54de23e478f07880f44895fe24c5b39
7
+ data.tar.gz: 5e6aa394ad9378f09a6e002fcab15e6c6e42668a154a48fe7f7599c949d21f7cc3a1e3b319f6f183b02b8bc174c4218d0801345718960560354c15ce04d89f7c
@@ -1,5 +1,10 @@
1
1
  <% search_target = local_assigns[:search_target].presence || search_path %>
2
2
  <% search_base_index = local_assigns[:search_base_index].presence || ENV['ALGOLIA_BASE_INDEX'] %>
3
+ <% www_search_index = local_assigns[:www_search_index].presence || 'www_page_idx' %>
4
+ <% devcenter_search_index = local_assigns[:devcenter_search_index].presence || 'dev_center_article_idx' %>
5
+ <% elements_search_index = local_assigns[:elements_search_index].presence || 'elements_resource_idx' %>
6
+ <% blog_search_index = local_assigns[:blog_search_index].presence || 'blog_post_idx' %>
7
+
3
8
  <div id="bookends-search-page" class="search-page">
4
9
  <div class="wrapper wrapper-md">
5
10
  <%= form_tag search_target, method: :get, id: 'search-form' do %>
@@ -16,10 +21,10 @@
16
21
  <% if ENV['SEARCH_BASE_INDEX_ONLY'].nil? || ENV['SEARCH_BASE_INDEX_ONLY'].to_s == 'false' %>
17
22
  <nav class="js-index-selector-container search-tabs">
18
23
  <ul>
19
- <li><a href="#" class="js-index-selector search-tab" data-index="www_page_idx">WWW</a></li>
20
- <li><a href="#" class="js-index-selector search-tab" data-index="dev_center_article_idx">Dev Center</a></li>
21
- <li><a href="#" class="js-index-selector search-tab" data-index="elements_resource_idx">Marketplace</a></li>
22
- <li><a href="#" class="js-index-selector search-tab" data-index="blog_post_idx">Blog</a></li>
24
+ <li><a href="#" class="js-index-selector search-tab" data-index="<%= www_search_index %>">WWW</a></li>
25
+ <li><a href="#" class="js-index-selector search-tab" data-index="<%= devcenter_search_index %>">Dev Center</a></li>
26
+ <li><a href="#" class="js-index-selector search-tab" data-index="<%= elements_search_index %>">Marketplace</a></li>
27
+ <li><a href="#" class="js-index-selector search-tab" data-index="<%= blog_search_index %>">Blog</a></li>
23
28
  </ul>
24
29
  </nav>
25
30
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module Bookends
2
- VERSION = '10.1.0'.freeze
2
+ VERSION = '10.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookends
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.1.0
4
+ version: 10.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marketing Web Ops at heroku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails