swedbank-pay-design-guide-jekyll-theme 2.6.5 → 2.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/front-page.html +2 -2
- data/_sass/swedbank-pay-design-guide-theme.scss +1 -1
- data/assets/tipuesearch/tipuesearch.min.js +14 -6
- data/lib/gem_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: 54dc6dfb64184de3b5c512b78bd4aebca90c0becc25933634161b951ae88eb11
|
4
|
+
data.tar.gz: 1fb99ccff6b95f596ea4fe2da0a3e56e8c4bdd77c5acd81d4568cddc25da0710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dff26b7f8a6cdcfad62640db1bcef0497c7e13e8b905d3331aafed5c72c76f3fa588f049e8f92c8fa3610318971f5337d4cd484d9d7720746e876b86a01e850
|
7
|
+
data.tar.gz: b72fb7aac1854e758f45c5c276f157fa56229355af41748b5869351dcbaa466ab843e5d260f04853e7fe066993e10a39f439a79c92ad17c612f9b56ca932eaf8
|
data/_layouts/front-page.html
CHANGED
@@ -62,8 +62,8 @@ layout: default
|
|
62
62
|
<div class="front-page-container">
|
63
63
|
{% contentblock intro_cards%}
|
64
64
|
|
65
|
-
<div class="front-page-
|
66
|
-
{% contentblock
|
65
|
+
<div class="front-page-promotion-container">
|
66
|
+
{% contentblock promotion-container %}
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="front-page-cards-sdk">
|
@@ -37,7 +37,8 @@
|
|
37
37
|
var show_replace = false;
|
38
38
|
var show_stop = false;
|
39
39
|
var standard = true;
|
40
|
-
var c = 0;
|
40
|
+
var c = 0;
|
41
|
+
found = [];
|
41
42
|
var d_o = $('#tipue_search_input').val();
|
42
43
|
var d = d_o.toLowerCase();
|
43
44
|
d = $.trim(d);
|
@@ -85,7 +86,12 @@
|
|
85
86
|
pat = new RegExp(d_w[f].substring(1), 'i'); if (tipuesearch_in.pages[i].title.search(pat) != -1 || tipuesearch_in.pages[i].text.search(pat) != -1 || tipuesearch_in.pages[i].tags.search(pat) != -1) { score = 0; }
|
86
87
|
}
|
87
88
|
}
|
88
|
-
if (score != 0) {
|
89
|
+
if (score != 0) {
|
90
|
+
if (tipuesearch_in.pages[i].title && s_t) {
|
91
|
+
found.push({ "score": score, "title": tipuesearch_in.pages[i].title, "desc": s_t, "url": tipuesearch_in.pages[i].url });
|
92
|
+
c++;
|
93
|
+
}
|
94
|
+
}
|
89
95
|
}
|
90
96
|
}
|
91
97
|
else {
|
@@ -99,7 +105,12 @@
|
|
99
105
|
if (tipuesearch_in.pages[i].url == tipuesearch_weight.weight[e].url) { score += tipuesearch_weight.weight[e].score; }
|
100
106
|
}
|
101
107
|
}
|
102
|
-
if (score != 0) {
|
108
|
+
if (score != 0) {
|
109
|
+
if (tipuesearch_in.pages[i].title && s_t) {
|
110
|
+
found.push({ "score": score, "title": tipuesearch_in.pages[i].title, "desc": s_t, "url": tipuesearch_in.pages[i].url });
|
111
|
+
c++;
|
112
|
+
}
|
113
|
+
}
|
103
114
|
}
|
104
115
|
}
|
105
116
|
if (c != 0) {
|
@@ -109,9 +120,6 @@
|
|
109
120
|
out += '<div id="tipue_search_results_count">' + tipuesearch_string_4;
|
110
121
|
}
|
111
122
|
else {
|
112
|
-
if (found[c - 1] && !found[c - 1].title && !found[c - 1].desc) {
|
113
|
-
c = c - 1; // If the last item has no title and no description, we remove it from the count
|
114
|
-
}
|
115
123
|
c_c = c.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
116
124
|
out += '<div id="tipue_search_results_count">' + c_c + ' ' + tipuesearch_string_5;
|
117
125
|
}
|
data/lib/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swedbank-pay-design-guide-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swedbank Pay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08
|
11
|
+
date: 2025-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|