swedbank-pay-design-guide-jekyll-theme 1.9.6 → 1.9.7

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: f984dd5a90f6718b4089f2e18b45f61a934b8339e6299dc367f450a6f0a9605b
4
- data.tar.gz: de505338b7b2736df5774cfb06392db0c2781263234b20ab412c9bac4b461c89
3
+ metadata.gz: 03e53f1ddfdcd3aae0eaabdca94653a4a5ede896ac5f30bc9e53bf4d4af4de01
4
+ data.tar.gz: 36eb1abeb83df816c73a05363b8f7dcafcdf3fcd4ccddcd82cd46fd72160e79e
5
5
  SHA512:
6
- metadata.gz: 22aece453b0c96cd8266a60141d4d8a380c571d1eb1fe11a972b58651c3c022218d89ad7964cc27941dfcf58c9222e15199dac4aba6006302c53b92333c49ca7
7
- data.tar.gz: dfd54c1b22d51db540a77dfea8af743d8d35ce9b669d7164a29fe4b79bc466517574c94a3e26edbd244680ee117265eca1b02b83656868c419a06734fb6aa3e3
6
+ metadata.gz: b02bb2c3b906bc02570d12b355f518ffb0ffce035246d767f0114948089f511b6fb2ea7b11fee24869fcc513ee292acdb94804ee7a8dc5c7ba63cf9a0a439ac2
7
+ data.tar.gz: 8db66ae7900d2ccfa6dfa1a34bce1b0336a5bcbe41dd948ba49f229fce8485ee0028645bbc7db04498b73aef6a59d1e9cb219994aeabe08fad327234b7f11fe0
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '1.9.6'
7
+ '1.9.7'
8
8
  end
9
9
  end
10
10
  end
@@ -56,6 +56,11 @@ module SwedbankPay
56
56
  end
57
57
 
58
58
  def hidden_for?(other_page)
59
+ if @jekyll_page.data['layout'] == 'search'
60
+ # Never show the search result page in the menu.
61
+ return true
62
+ end
63
+
59
64
  # The current page should be hidden for the other page unless the
60
65
  # other page is also hidden.
61
66
  hidden = hidden?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.6
4
+ version: 1.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay