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 +4 -4
- data/lib/gem_version.rb +1 -1
- data/lib/sidebar_page.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03e53f1ddfdcd3aae0eaabdca94653a4a5ede896ac5f30bc9e53bf4d4af4de01
|
4
|
+
data.tar.gz: 36eb1abeb83df816c73a05363b8f7dcafcdf3fcd4ccddcd82cd46fd72160e79e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b02bb2c3b906bc02570d12b355f518ffb0ffce035246d767f0114948089f511b6fb2ea7b11fee24869fcc513ee292acdb94804ee7a8dc5c7ba63cf9a0a439ac2
|
7
|
+
data.tar.gz: 8db66ae7900d2ccfa6dfa1a34bce1b0336a5bcbe41dd948ba49f229fce8485ee0028645bbc7db04498b73aef6a59d1e9cb219994aeabe08fad327234b7f11fe0
|
data/lib/gem_version.rb
CHANGED
data/lib/sidebar_page.rb
CHANGED
@@ -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?
|