appscms-tools-theme 4.9.4 → 4.9.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a145389f6807bc4a01f6c094e75c5470b692f5132f5a2cc94d4f06b7a489996
4
- data.tar.gz: 9ca6c0b39dc2593b9961c0793db2938244d8a3141d203d1f818c24b8ae3316b2
3
+ metadata.gz: 2bb6f2eb1f87e3fdd1fee0293330231fd6516cbc96f3580369a7f78928566dc7
4
+ data.tar.gz: 9916a4e18293d4d5d9280ce252ffdfd4458ca3693aa7210c2f9f335311948ef3
5
5
  SHA512:
6
- metadata.gz: 7d577b46e28ae3bdf6e3f67366aa988bfefd702e646c1856bcc9d1f2d869af97cdb9761c0511787a19f220c191d1ab1b002dfe4d94985405eb4c862d52fe29df
7
- data.tar.gz: 7e64ed9dc871b4ea3a1d444c6c36a55d3fdfd0e5a6005e8ba8c7e96a5628604721e55fe70b64be927cf6ee58fdae7168e550d877304205897a8212806b3b5376
6
+ metadata.gz: 0fedea6c58cee2dc776d04306eb86f9f2861b6dd2d17081c7924636c55073efdf3ba0fb96863e7446620f1d90284ae08a28074de46cfeecfe52354fa9c091f0d
7
+ data.tar.gz: e109938a7ced1e0e9421b7c8374fc3fc7522b173b7b9df7c9aefa59df91a2cdad24488eba752727b894ea00ab3fbe6b02c31ff81ce0ebe292dfcbc1006ada141
@@ -49,30 +49,15 @@
49
49
 
50
50
  {%- endif -%} {%- if page.layout == "aboutUs" -%}
51
51
 
52
- <meta
53
- name="description"
54
- content="{{site.name}} - About us | {{description}}"
55
- />
52
+ <meta name="description" content="{{site.name}} - About us | {{description}}" />
56
53
  {% elsif page.layout == "termAndCondition" %}
57
- <meta
58
- name="description"
59
- content="{{site.name}} - Terms and conditions | {{description}}"
60
- />
54
+ <meta name="description" content="{{site.name}} - Terms and conditions | {{description}}" />
61
55
  {% elsif page.layout == "disclaimer" %}
62
- <meta
63
- name="description"
64
- content="{{site.name}} - Disclaimer | {{description}}"
65
- />
56
+ <meta name="description" content="{{site.name}} - Disclaimer | {{description}}" />
66
57
  {% elsif page.layout == "privacyPolicy" %}
67
- <meta
68
- name="description"
69
- content="{{site.name}} - Privacy policy | {{description}}"
70
- />
58
+ <meta name="description" content="{{site.name}} - Privacy policy | {{description}}" />
71
59
  {% elsif page.layout == "contactUs" %}
72
- <meta
73
- name="description"
74
- content="{{site.name}} - Contact | {{description}}"
75
- />
60
+ <meta name="description" content="{{site.name}} - Contact | {{description}}" />
76
61
  {%- else -%}
77
62
  <meta name="description" content="{{description}}" />
78
63
 
@@ -82,140 +67,44 @@
82
67
  {%- else -%}
83
68
  <link rel="canonical" href="{{site.url | append: page.url}}" />
84
69
  {%- endif -%}
85
-
86
-
87
- <link
88
- rel="stylesheet"
89
- href="/assets/css/bootstrap.min.css"
90
- {%-
91
- if
92
- site.crossorigin
93
- -%}
94
- {{
95
- }}
96
- crossorigin="anonymous"
97
- {%-
98
- endif
99
- -%}
100
- />
70
+
71
+
72
+ <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
73
+ {%- endif -%} />
101
74
 
102
75
  {%- if dataToShow.css -%}
103
76
 
104
- <link
105
- rel="stylesheet"
106
- href="{{dataToShow.css}}"
107
- {%-
108
- if
109
- site.crossorigin
110
- -%}
111
- {{
112
- }}
113
- crossorigin="anonymous"
114
- {%-
115
- endif
116
- -%}
117
- />
77
+ <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
78
+ -%} />
118
79
  {%- else -%} {%- endif -%} {%- if site.monumetricId -%}
119
80
 
120
- <link
121
- rel="stylesheet"
122
- href="/assets/css/responsive.css"
123
- {%-
124
- if
125
- site.crossorigin
126
- -%}
127
- {{
128
- }}
129
- crossorigin="anonymous"
130
- {%-
131
- endif
132
- -%}
133
- />
81
+ <link rel="stylesheet" href="/assets/css/responsive.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
82
+ endif -%} />
134
83
 
135
84
  {%- endif -%} {%- if page.layout == "calculator" -%}
136
85
 
137
- <link
138
- rel="stylesheet"
139
- href="/assets/css/calculators.css"
140
- {%-
141
- if
142
- site.crossorigin
143
- -%}
144
- {{
145
- }}
146
- crossorigin="anonymous"
147
- {%-
148
- endif
149
- -%}
150
- />
86
+ <link rel="stylesheet" href="/assets/css/calculators.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
87
+ {%- endif -%} />
151
88
 
152
89
  {%- endif -%} {%- if page.layout == "home-1" -%}
153
90
 
154
- <link
155
- rel="stylesheet"
156
- href="/assets/css/home-1.css"
157
- {%-
158
- if
159
- site.crossorigin
160
- -%}
161
- {{
162
- }}
163
- crossorigin="anonymous"
164
- {%-
165
- endif
166
- -%}
167
- />
91
+ <link rel="stylesheet" href="/assets/css/home-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
92
+ endif -%} />
168
93
 
169
94
  {%- endif -%} {%- if page.layout == "feature-1" or page.newBox or page.layout
170
95
  == "feature-download" -%}
171
96
 
172
- <link
173
- rel="stylesheet"
174
- href="/assets/css/feature-1.css"
175
- {%-
176
- if
177
- site.crossorigin
178
- -%}
179
- {{
180
- }}
181
- crossorigin="anonymous"
182
- {%-
183
- endif
184
- -%}
185
- />
97
+ <link rel="stylesheet" href="/assets/css/feature-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
98
+ endif -%} />
186
99
 
187
100
  {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
188
101
 
189
- <link
190
- rel="stylesheet"
191
- href="/assets/css/common.css"
192
- {%-
193
- if
194
- site.crossorigin
195
- -%}
196
- {{
197
- }}
198
- crossorigin="anonymous"
199
- {%-
200
- endif
201
- -%}
202
- />
102
+ <link rel="stylesheet" href="/assets/css/common.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
103
+ endif -%} />
203
104
 
204
105
  {%- endif -%} {%- if page.layout == "contenttool-home" -%}
205
- <link
206
- rel="stylesheet"
207
- href="/assets/css/appscms-contenttool.css"
208
- {%-
209
- if
210
- site.crossorigin
211
- -%}
212
- {{
213
- }}
214
- crossorigin="anonymous"
215
- {%-
216
- endif
217
- -%}
218
- />
106
+ <link rel="stylesheet" href="/assets/css/appscms-contenttool.css" {%- if site.crossorigin -%} {{ }}
107
+ crossorigin="anonymous" {%- endif -%} />
219
108
  {%- endif -%}
220
109
 
221
110
  <link rel="stylesheet" href="/assets/css/appscms-variables.css" />
@@ -242,59 +131,42 @@
242
131
  <link rel="stylesheet" href="/assets/css/devtool-main.css" />
243
132
  {%- endif -%} {%- if page.layout == 'appscms-imagekit' -%}
244
133
  <link rel="stylesheet" href="/assets/css/appscms-feature.css" />
245
- <link
246
- rel="stylesheet"
247
- href="/assets/css/appscms-imagekit.css"
248
- {%-
249
- if
250
- site.crossorigin
251
- -%}
252
- {{
253
- }}
254
- crossorigin="anonymous"
255
- {%-
256
- endif
257
- -%}
258
- />
134
+ <link rel="stylesheet" href="/assets/css/appscms-imagekit.css" {%- if site.crossorigin -%} {{ }}
135
+ crossorigin="anonymous" {%- endif -%} />
259
136
 
260
137
  {%- endif -%}
261
138
  <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
262
139
  <meta property="og:title" content="{{title}}" />
263
140
  <meta property="og:description" content="{{description}}" />
264
141
  <meta property="og:type" content="website" />
265
- <meta
266
- data-rh="true"
267
- property="og:url"
268
- content="{{site.url | append: page.url}}"
269
- />
142
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
270
143
  <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
271
144
  <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
272
- <meta
273
- data-rh="true"
274
- property="twitter:url"
275
- content="{{site.url | append: page.url}}"
276
- />
145
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
277
146
  <meta data-rh="true" name="twitter:title" content="{{title}}" />
278
147
  <meta data-rh="true" name="twitter:description" content="{{description}}" />
279
- <meta
280
- data-rh="true"
281
- name="twitter:image:src"
282
- content="{{site.url}}{{favicon}}"
283
- />
284
- {% include adsense/adsense.html %} {%- if page.noindex -%}
148
+ <meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
149
+ {% include adsense/adsense.html %}
150
+
151
+ {%- if page.noindex -%}
285
152
  <meta name="robots" content="noindex" />
286
- {%- endif -%} {% assign whitelist_urls =
287
- site.data.noindexURLs.internatlionalization_whitelist_urls %} {% assign
288
- noindex_languages = site.data.noindexURLs.noindex_languages %} {% if
289
- noindex_languages contains page.lang %} {% unless whitelist_urls contains
290
- page.url %}
153
+ {%- endif -%}
154
+
155
+ {% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
156
+ {% if page.lang != "en" %}
157
+ {% unless whitelist_urls contains page.url %}
291
158
  <meta name="robots" content="noindex" />
292
- {% endunless %} {% endif %} {% assign blacklist_urls =
293
- site.data.noindexURLs.blacklist_urls %} {% if blacklist_urls contains page.url
294
- %}
159
+ {% endunless %}
160
+ {% endif %}
161
+
162
+ {% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %}
163
+ {% if blacklist_urls contains page.url %}
295
164
  <meta name="robots" content="noindex" />
296
- {% endif %} {%- if site.pwa -%}
165
+ {% endif %}
166
+
167
+
297
168
 
169
+ {%- if site.pwa -%}
298
170
  <link rel="manifest" href="/assets/js/manifest.json" />
299
171
 
300
172
  {%- endif -%} {%- if site.internationalization or site.internationalizationall
@@ -474,4 +346,4 @@
474
346
  monumetric/monumetric.html -%} {%- endif -%} {%- include monumetric/ads.html
475
347
  -%} {%- if page.layout == "feature" or page.layout == "home" -%} {%- include
476
348
  monumetric/profitablecpmgate.html -%} {%- endif -%}
477
- </head>
349
+ </head>
@@ -1,5 +1,4 @@
1
1
  <style>
2
-
3
2
  .modal-arrow-btn {
4
3
  position: absolute;
5
4
  top: 50%;
@@ -15,14 +14,15 @@
15
14
  border-radius: 50%;
16
15
  transform: translateY(-50%);
17
16
  }
18
-
17
+
19
18
  .modal-arrow-btn.prev {
20
19
  left: 10px;
21
20
  }
22
-
21
+
23
22
  .modal-arrow-btn.next {
24
23
  right: 10px;
25
24
  }
25
+
26
26
  @media (max-width: 768px) {
27
27
  .modal-arrow-btn {
28
28
  top: 30%;
@@ -31,16 +31,16 @@
31
31
  font-size: 20px;
32
32
  line-height: 40px;
33
33
  }
34
-
34
+
35
35
  .modal-arrow-btn.prev {
36
36
  left: 5px;
37
37
  }
38
-
38
+
39
39
  .modal-arrow-btn.next {
40
40
  right: 5px;
41
41
  }
42
42
  }
43
-
43
+
44
44
  @media (max-width: 480px) {
45
45
  .modal-arrow-btn {
46
46
  width: 30px;
@@ -48,15 +48,16 @@
48
48
  font-size: 16px;
49
49
  line-height: 30px;
50
50
  }
51
-
51
+
52
52
  .modal-arrow-btn.prev {
53
53
  left: 3px;
54
54
  }
55
-
55
+
56
56
  .modal-arrow-btn.next {
57
57
  right: 3px;
58
58
  }
59
59
  }
60
+
60
61
  .modal1 {
61
62
  position: fixed;
62
63
  z-index: 1000;
@@ -71,14 +72,14 @@
71
72
  transform: scale(0.8);
72
73
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
73
74
  }
74
-
75
+
75
76
  .modal1.show {
76
77
  opacity: 1;
77
78
  visibility: visible;
78
79
  transform: scale(1);
79
80
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
80
81
  }
81
-
82
+
82
83
  .modal1-content1 {
83
84
  margin: auto;
84
85
  display: block;
@@ -89,66 +90,65 @@
89
90
  transform: translateY(-20px);
90
91
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
91
92
  }
92
-
93
+
93
94
  .modal1.show .modal1-content1 {
94
95
  opacity: 1;
95
96
  transform: translateY(0);
96
97
  }
97
- .modal1-body img {
98
- width: 100%;
99
- height: auto;
100
- }
101
- .close1 {
102
- position: absolute;
103
- top: 10px;
104
- right: 10px;
105
- font-size: 24px;
106
- color: #fff;
107
- cursor: pointer;
108
- }
109
- .close1:hover {
110
- color: #ccc;
111
- }
112
- </style>
113
- <div class="inforgraphics_section">
114
- <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
115
- <div class="wrapper">
116
- <i id="left" class="fas fa-angle-left"></i>
117
- <div class="carousel">
118
- <div class="carousel-inner">
119
- {%- if pageData.infographics -%} {% for item in pageData.infographics %}
120
- <div class="slide">
121
- <img
122
- loading="lazy"
123
- src="{{ item.image }}"
124
- alt="{{item.alt}}"
125
- draggable="false"
126
- class="infographic-img"
127
- onclick="openModal1('{{ item.image }}')"
128
- />
129
- <p class="infographic-desc">{{ item.description | capitalize }}</p>
130
- </div>
131
- {% endfor %} {%- endif -%}
98
+
99
+ .modal1-body img {
100
+ width: 100%;
101
+ height: auto;
102
+ }
103
+
104
+ .close1 {
105
+ position: absolute;
106
+ top: 10px;
107
+ right: 10px;
108
+ font-size: 24px;
109
+ color: #fff;
110
+ cursor: pointer;
111
+ }
112
+
113
+ .close1:hover {
114
+ color: #ccc;
115
+ }
116
+ </style>
117
+ <div class="inforgraphics_section">
118
+ <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
119
+ <div class="wrapper">
120
+ <i id="left" class="fas fa-angle-left"></i>
121
+ <div class="carousel">
122
+ <div class="carousel-inner">
123
+ {%- if pageData.infographics -%} {% for item in pageData.infographics %}
124
+ <div class="slide">
125
+ <img loading="lazy" src="{{ item.image }}" alt="{{item.alt}}" draggable="false" class="infographic-img"
126
+ onclick="openModal1('{{ item.image }}')" />
127
+ <p class="infographic-desc">{{ item.description | capitalize }}</p>
132
128
  </div>
129
+ {% endfor %} {%- endif -%}
133
130
  </div>
134
- <i id="right" class="fas fa-angle-right"></i>
135
131
  </div>
132
+ <i id="right" class="fas fa-angle-right"></i>
136
133
  </div>
137
- <div id="imageModal1" class="modal1" onclick="closeModal1()">
138
- <span class="close1" onclick="closeModal1()">&times;</span>
139
- <button class="modal-arrow-btn prev">&#10094;</button>
140
- <button class="modal-arrow-btn next">&#10095;</button>
141
- <div class="modal1-content1">
142
- <div class="modal1-body">
143
- <img id="modal1Image" src="" alt="Image" />
144
- </div>
134
+ </div>
135
+ <div id="imageModal1" class="modal1" onclick="closeModal1()">
136
+ <span class="close1" onclick="closeModal1()">&times;</span>
137
+ <button class="modal-arrow-btn prev">&#10094;</button>
138
+ <button class="modal-arrow-btn next">&#10095;</button>
139
+ <div class="modal1-content1">
140
+ <div class="modal1-body">
141
+ <img id="modal1Image" src="" alt="Image" />
145
142
  </div>
146
143
  </div>
147
- <script>
144
+ </div>
145
+
146
+
147
+ <script>
148
148
  document.addEventListener("DOMContentLoaded", () => {
149
149
  let modal_array_of_images = [];
150
150
  let current_modal_img = 0;
151
-
151
+
152
152
  // Function to update the modal image
153
153
  function updateModalImage() {
154
154
  const modal1Img = document.getElementById("modal1Image");
@@ -156,12 +156,12 @@
156
156
  modal1Img.src = modal_array_of_images[current_modal_img].src;
157
157
  }
158
158
  }
159
-
159
+
160
160
  // Function to prepare the array of images for the modal
161
161
  function readyallimages() {
162
162
  modal_array_of_images = Array.from(document.querySelectorAll('.infographic-img'));
163
163
  }
164
-
164
+
165
165
  // Function to open the modal and set the current image
166
166
  function openModal1(imageSrc) {
167
167
  const modal1 = document.getElementById("imageModal1");
@@ -170,20 +170,20 @@
170
170
  current_modal_img = modal_array_of_images.findIndex(img => img.src === imageSrc);
171
171
  updateModalImage();
172
172
  }
173
-
173
+
174
174
  // Function to close the modal
175
175
  function closeModal1() {
176
176
  const modal1 = document.getElementById("imageModal1");
177
177
  modal1.classList.remove("show");
178
178
  }
179
-
179
+
180
180
  // Add click event listeners to each infographic image
181
181
  document.querySelectorAll('.infographic-img').forEach(img => {
182
182
  img.addEventListener('click', (event) => {
183
183
  openModal1(event.target.src);
184
184
  });
185
185
  });
186
-
186
+
187
187
  // Event listeners for the modal arrow buttons
188
188
  const modal_btns = document.querySelectorAll('.modal-arrow-btn');
189
189
  modal_btns.forEach(modal_btn => {
@@ -197,22 +197,21 @@
197
197
  updateModalImage();
198
198
  });
199
199
  });
200
-
200
+
201
201
  // Event listener for the close button
202
202
  document.querySelectorAll(".close1").forEach(element => {
203
203
  element.addEventListener("click", closeModal1);
204
204
  });
205
-
205
+
206
206
  // Event listener for closing the modal when clicking outside the image
207
207
  document.getElementById("imageModal1").addEventListener("click", (event) => {
208
208
  if (event.target === document.getElementById("imageModal1")) {
209
209
  closeModal1();
210
210
  }
211
211
  });
212
-
212
+
213
213
  // Initialize modal images on page load
214
214
  readyallimages();
215
215
  });
216
-
217
- </script>
218
-
216
+
217
+ </script>
@@ -13,7 +13,7 @@
13
13
  {%- else -%}
14
14
  {%- endif -%}
15
15
  <div class="d-flex align-items-center">
16
- {%- if site.navigationSearch -%}
16
+ {%- if site.navigationSearch and page.lang == "en" -%}
17
17
  <div class="nav-search mr-4">
18
18
  <div class="search-container">
19
19
  <input type="text" class="search-input" placeholder="Search Tools">
@@ -25,9 +25,7 @@
25
25
 
26
26
  <div id="results" class="searchbarResults"></div>
27
27
  </div>
28
- {%- endif -%}
29
-
30
-
28
+ {%- endif -%}
31
29
  {%- if siteData.navItems -%}
32
30
  <div class="appscms-navbar-nav-links">
33
31
  {%- for item in siteData.navItems -%}
@@ -10,7 +10,8 @@
10
10
  <img class="mt-3" style="cursor: pointer" height="30px" width="30px" src="/assets/images/close-button.svg"
11
11
  alt="close-button" />
12
12
  </div>
13
- {%- if site.navigationSearch -%}
13
+
14
+ {%- if site.navigationSearch and page.lang == "en" -%}
14
15
  <div class="mobile-search-bar">
15
16
  <div class="mobile-search-container">
16
17
  <input type="text" class="mobile-search-input" placeholder="Search Tools">
@@ -266,8 +267,6 @@
266
267
  {%- endif -%}
267
268
 
268
269
 
269
-
270
-
271
270
  <script>
272
271
  document.addEventListener("DOMContentLoaded", function () {
273
272
  const scrollContainer = document.querySelector(".appscms-toolbar-list");
@@ -3,34 +3,14 @@ site.data.[page.folderName][lang][file] %} {%- assign dataAtt =
3
3
  "data-folderName='$folderName' data-lang='$lang' data-fileName='$fileName'
4
4
  data-tool='$tool'" -%} {%- assign $folderName = '$folderName' -%} {%- if
5
5
  site.removeJquery != true -%}
6
- <script
7
- defer
8
- src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
9
- {%-
10
- if
11
- site.crossorigin
12
- -%}
13
- {{
14
- }}
15
- crossorigin
16
- {%-
17
- endif
18
- -%}
19
- ></script>
6
+ <script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin -%} {{ }}
7
+ crossorigin {%- endif -%}></script>
20
8
  {%- endif -%} {%- if site.search -%} {%- if page.layout == "appscms-home" or
21
9
  page.layout == "contenttool-home" -%}
22
- <script
23
- defer
24
- src="/assets/js/appscms-search.js"
25
- crossorigin="anonymous"
26
- ></script>
10
+ <script defer src="/assets/js/appscms-search.js" crossorigin="anonymous"></script>
27
11
  {%- endif -%} {%- endif -%}
28
12
 
29
- <script
30
- defer
31
- src="/assets/js/appscms-theme.js"
32
- crossorigin="anonymous"
33
- ></script>
13
+ <script data-lang="{{page.lang}}" defer src="/assets/js/appscms-theme.js" crossorigin="anonymous"></script>
34
14
  <script defer src="/assets/js/appscms-infographics.js"></script>
35
15
 
36
16
  {%- if site.userTrackingCount -%} {%- include customScripts.html -%} {%- endif
@@ -39,87 +19,32 @@ page.layout == "contenttool-home" -%}
39
19
  <script defer src="/assets/js/usageTrackingEvents.js"></script>
40
20
  <script defer src="/assets/js/sharePage.js"></script>
41
21
  {%- endif -%} {%- if site.removeBootstrapJs != true -%}
42
- <script
43
- defer="defer"
44
- src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
45
- integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
46
- crossorigin="anonymous"
47
- ></script>
22
+ <script defer="defer" src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
23
+ integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
48
24
  {%- endif -%} {{site.data.customcdns.customcdns.jsfiles}} {%- if
49
25
  scriptData.jsfilepaths -%} {%- for path in scriptData.jsfilepaths -%} {%- assign
50
26
  asset_dir = path -%} {%- if site.versioning and asset_dir != "" -%} {%- if
51
27
  asset_dir contains "https" and asset_dir contains "https://" -%}
52
- <script
53
- defer
54
- src="{{path}}"
55
- data-folderName="{{page.folderName}}"
56
- data-lang="{{page.lang}}"
57
- data-fileName="{{page.fileName}}"
58
- data-tool="{{page.tool}}"
59
- data-permalink="{{page.permalink}}"
60
- {%-
61
- if
62
- site.crossorigin
63
- -%}
64
- {{
65
- }}
66
- crossorigin
67
- {%-
68
- endif
69
- -%}
70
- ></script>
28
+ <script defer src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}"
29
+ data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if
30
+ site.crossorigin -%} {{ }} crossorigin {%- endif -%}></script>
71
31
  {%- else -%}
72
- <script
73
- defer
74
- src="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
75
- data-folderName="{{page.folderName}}"
76
- data-lang="{{page.lang}}"
77
- data-fileName="{{page.fileName}}"
78
- data-tool="{{page.tool}}"
79
- data-permalink="{{page.permalink}}"
80
- {%-
81
- if
82
- site.crossorigin
83
- -%}
84
- {{
85
- }}
86
- crossorigin
87
- {%-
88
- endif
89
- -%}
90
- ></script>
32
+ <script defer src="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
33
+ data-folderName="{{page.folderName}}" data-lang="{{page.lang}}" data-fileName="{{page.fileName}}"
34
+ data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if site.crossorigin -%} {{ }} crossorigin {%- endif
35
+ -%}></script>
91
36
  {%- endif -%} {%- else -%}
92
- <script
93
- defer
94
- src="{{path}}"
95
- data-folderName="{{page.folderName}}"
96
- data-lang="{{page.lang}}"
97
- data-fileName="{{page.fileName}}"
98
- data-tool="{{page.tool}}"
99
- data-permalink="{{page.permalink}}"
100
- {%-
101
- if
102
- site.crossorigin
103
- -%}
104
- {{
105
- }}
106
- crossorigin
107
- {%-
108
- endif
109
- -%}
110
- ></script>
37
+ <script defer src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}"
38
+ data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if
39
+ site.crossorigin -%} {{ }} crossorigin {%- endif -%}></script>
111
40
  {%- endif -%} {%- endfor -%} {%- endif -%} {%- if scriptData.jscdns -%} {%- for
112
41
  item in scriptData.jscdns -%} {{item | replace:"$folderName", page.folderName |
113
42
  replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace:
114
43
  "$tool", page.tool }} {%- endfor -%} {%- endif -%} {%- assign font = "Inter" -%}
115
44
  {%- if site.removeFontAwesome != true -%}
116
- <link
117
- rel="stylesheet"
118
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
45
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
119
46
  integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
120
- crossorigin="anonymous"
121
- referrerpolicy="no-referrer"
122
- />
47
+ crossorigin="anonymous" referrerpolicy="no-referrer" />
123
48
  {%- endif -%} {%- include google-analytics.html -%} {%- if site.bookmark -%} {%-
124
49
  if page.layout == "appscms-feature" -%}
125
50
  <script>
@@ -141,4 +66,4 @@ if page.layout == "appscms-feature" -%}
141
66
  toaster.style.display = "none";
142
67
  }, 10000);
143
68
  </script>
144
- {%- endif -%} {%- endif -%}
69
+ {%- endif -%} {%- endif -%}
@@ -413,9 +413,10 @@
413
413
  name="twitter:image:src"
414
414
  content="{{site.url}}{{favicon}}"
415
415
  />
416
- {% include adsense/adsense.html %} {%- if page.noindex -%}
416
+ {% include adsense/adsense.html %}
417
+
418
+ {%- if page.noindex -%}
417
419
  <meta name="robots" content="noindex" />
418
-
419
420
  {%- endif -%} {%- if site.pwa -%}
420
421
 
421
422
  <link rel="manifest" href="/assets/js/manifest.json" />
@@ -173,7 +173,7 @@ if (processingBtn && buttonLoader) {
173
173
  }, { passive: true });
174
174
  }
175
175
 
176
- if ("{{ site.navigationSearch }}" === "true" ) {
176
+ if ("{{ site.navigationSearch }}" === "true" && document.currentScript.dataset.lang == "en") {
177
177
 
178
178
  // Fetch data from data.json
179
179
  const worker = new Worker('/search-worker.js');
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.4
4
+ version: 4.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -623,7 +623,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
623
623
  - !ruby/object:Gem::Version
624
624
  version: '0'
625
625
  requirements: []
626
- rubygems_version: 3.3.26
626
+ rubygems_version: 3.3.7
627
627
  signing_key:
628
628
  specification_version: 4
629
629
  summary: Appscms theme for all tools