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 +4 -4
- data/app/views/bookends/_search_page.html.erb +9 -4
- data/lib/bookends/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba10072411aecdbd351392e444e269cca46b36327e5631508567d6816ff808d
|
4
|
+
data.tar.gz: bc6ba21a2a3f904e24d8dfe2344747222b962ff1ceb7857f4e21460e06718e8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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="
|
20
|
-
<li><a href="#" class="js-index-selector search-tab" data-index="
|
21
|
-
<li><a href="#" class="js-index-selector search-tab" data-index="
|
22
|
-
<li><a href="#" class="js-index-selector search-tab" data-index="
|
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 %>
|
data/lib/bookends/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|