appscms-tools-theme 3.5.6 → 3.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e2295e2efe8ed72cafa63efa2c52e0e712a972b97447e60f595b9b35f4bdbca
4
- data.tar.gz: ac6ffc6cdce4f31fda28f8337eb947a6c1748e7413c1339925fab282a741a150
3
+ metadata.gz: 112e5073270b1aa98c0194be9bc281c1402617b7b55ea3a556f05f0626f7b068
4
+ data.tar.gz: 541ea2111393f018b2569a56e6d95def3b27e4be6097c71e3b2259d7ff685501
5
5
  SHA512:
6
- metadata.gz: a2f0507036e77a0186ef7d5b1740abba61c86337d177d93d3b930fcfa25e120d18cc6c60c3e262de31cdc288e2063b28f43bfd5a9de4df7626b2c8054e51607e
7
- data.tar.gz: 36af94b75f126b72cb8ce5fb19b5e6741a25ca55a2b90df8e26ba9cb07eea5b8982a47cfc7f8c1a78a56e9514a4b72d206e3ae8ca4077b3e87ec31baef578df7
6
+ metadata.gz: a61fc3b773345cd2f363ad062046134ddf01f05296c0e99317f87edfc49693b07e264d04093ecf474f28f61cc40cea1cad5060ef992f3143f79645c07d9dd8de
7
+ data.tar.gz: 1cfa0ef44ff88209088c788cbb782c17afb54e9f4549b0cf8dd1af52931a6a0569486398d0e70d21fb494a9ac1aba561efb2d171fffd1a605fee1ecbc53a54f1
@@ -3,7 +3,7 @@
3
3
  "htmlLangAtt": "en",
4
4
  "h1": "About us",
5
5
  "jsfilepaths": [
6
- "path"
6
+ ""
7
7
  ],
8
8
  "jscdns": [
9
9
  "<script type=\"text/javascript\" src=\"https://apis.google.com/js/api.js\"></script>",
@@ -223,9 +223,8 @@
223
223
  }
224
224
  ]
225
225
  },
226
- "csscdns": [
227
- "<link rel=\"stylesheet\" href=\"/css/feature1.css\" crossorigin='anonymous' />",
228
- "<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.flipster/1.1.5/jquery.flipster.css\" crossorigin='anonymous' />"
226
+ "cssfilepaths": [
227
+ "/css/feature1.css"
229
228
  ],
230
229
  "jscdns": [
231
230
  "<script crossorigin='anonymous' src=\"/assets/js/googledrive.js\"></script>",
@@ -2,7 +2,19 @@
2
2
  {{site.data.customcdns.customcdns.cssfiles}}
3
3
  {%- if cssData.cssfilepaths -%}
4
4
  {%- for path in cssData.cssfilepaths -%}
5
+ {%- assign asset_dir = path -%}
6
+ {%- if site.versioning and asset_dir != "" -%}
7
+ {%- if asset_dir contains "https" and asset_dir contains "https://" -%}
5
8
  <link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
9
+ {%- else -%}
10
+ <link defer rel="stylesheet"
11
+ href="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
12
+ {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
13
+ {%- endif -%}
14
+ {%- else -%}
15
+ <link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
16
+ {%- endif -%}
17
+
6
18
  {%- endfor -%}
7
19
  {%- endif -%}
8
20
  {%- if cssData.csscdns -%}
@@ -139,194 +139,95 @@
139
139
  {%- endif -%} {%- if dataToShow.keywords -%}
140
140
  <meta name="keywords" content="{{keywords}}" />
141
141
  {%- endif -%} {%- if page.layout == "aboutUs" -%}
142
- <meta
143
- name="description"
144
- content="{{site.name}} - About us | {{description}}"
145
- />
142
+ <meta name="description" content="{{site.name}} - About us | {{description}}" />
146
143
  {% elsif page.layout == "termAndCondition" %}
147
- <meta
148
- name="description"
149
- content="{{site.name}} - Terms and conditions | {{description}}"
150
- />
144
+ <meta name="description" content="{{site.name}} - Terms and conditions | {{description}}" />
151
145
  {% elsif page.layout == "disclaimer" %}
152
- <meta
153
- name="description"
154
- content="{{site.name}} - Disclaimer | {{description}}"
155
- />
146
+ <meta name="description" content="{{site.name}} - Disclaimer | {{description}}" />
156
147
  {% elsif page.layout == "privacyPolicy" %}
157
- <meta
158
- name="description"
159
- content="{{site.name}} - Privacy policy | {{description}}"
160
- />
148
+ <meta name="description" content="{{site.name}} - Privacy policy | {{description}}" />
161
149
  {% elsif page.layout == "contactUs" %}
162
- <meta
163
- name="description"
164
- content="{{site.name}} - Contact | {{description}}"
165
- />
150
+ <meta name="description" content="{{site.name}} - Contact | {{description}}" />
166
151
  {%- else -%}
167
152
  <meta name="description" content="{{description}}" />
168
153
  {%- endif -%}
169
- <link
170
- rel="stylesheet"
171
- href="/assets/css/bootstrap.min.css"
172
- {%-
173
- if
174
- site.crossorigin
175
- -%}
176
- {{
177
- }}
178
- crossorigin="anonymous"
179
- {%-
180
- endif
181
- -%}
182
- />
154
+
183
155
  <link rel="canonical" href="{{site.url | append: page.url}}" />
156
+
157
+ {%- if site.versioning -%}
158
+ <link rel="stylesheet"
159
+ href="{{ site.baseurl }}/{% ministamp assets/css/bootstrap.min.css assets/css/bootstrap.min.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
160
+ {%- endif -%}>
161
+ {%- if dataToShow.css -%}
162
+ <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
163
+ -%} />
164
+ {%- else -%}
165
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/tools.css assets/css/tools.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
166
+ endif -%} />
167
+ {%- endif -%} {%- if site.monumetricId -%}
168
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/responsive.css assets/css/responsive.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
169
+ endif -%} />
170
+ {%- endif -%} {%- if page.layout == "calculator" -%}
171
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/calculators.css assets/css/calculators.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
172
+ {%- endif -%} />
173
+ {%- endif -%} {%- if page.layout == "home-1" -%}
174
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/home-1.css assets/css/home-1.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
175
+ endif -%} />
176
+ {%- endif -%} {%- if page.layout == "feature-1" or page.newBox or
177
+ page.layout == "feature-download" -%}
178
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/feature-1.css assets/css/feature-1.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
179
+ endif -%} />
180
+ {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
181
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/common.css assets/css/common.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
182
+ endif -%} />
183
+ {%- endif -%} {%- if page.layout == 'imagekit' -%}
184
+ <link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/imagekit.css assets/css/imagekit.css %}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
185
+ endif -%} />
186
+ {%- endif -%}
187
+
188
+
189
+ {%- else -%}
190
+ <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
191
+ {%- endif -%} />
184
192
  {%- if dataToShow.css -%}
185
- <link
186
- rel="stylesheet"
187
- href="{{dataToShow.css}}"
188
- {%-
189
- if
190
- site.crossorigin
191
- -%}
192
- {{
193
- }}
194
- crossorigin="anonymous"
195
- {%-
196
- endif
197
- -%}
198
- />
193
+ <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
194
+ -%} />
199
195
  {%- else -%}
200
- <link
201
- rel="stylesheet"
202
- href="/assets/css/tools.css"
203
- {%-
204
- if
205
- site.crossorigin
206
- -%}
207
- {{
208
- }}
209
- crossorigin="anonymous"
210
- {%-
211
- endif
212
- -%}
213
- />
196
+ <link rel="stylesheet" href="/assets/css/tools.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
197
+ endif -%} />
214
198
  {%- endif -%} {%- if site.monumetricId -%}
215
- <link
216
- rel="stylesheet"
217
- href="/assets/css/responsive.css"
218
- {%-
219
- if
220
- site.crossorigin
221
- -%}
222
- {{
223
- }}
224
- crossorigin="anonymous"
225
- {%-
226
- endif
227
- -%}
228
- />
199
+ <link rel="stylesheet" href="/assets/css/responsive.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
200
+ endif -%} />
229
201
  {%- endif -%} {%- if page.layout == "calculator" -%}
230
- <link
231
- rel="stylesheet"
232
- href="/assets/css/calculators.css"
233
- {%-
234
- if
235
- site.crossorigin
236
- -%}
237
- {{
238
- }}
239
- crossorigin="anonymous"
240
- {%-
241
- endif
242
- -%}
243
- />
202
+ <link rel="stylesheet" href="/assets/css/calculators.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
203
+ {%- endif -%} />
244
204
  {%- endif -%} {%- if page.layout == "home-1" -%}
245
- <link
246
- rel="stylesheet"
247
- href="/assets/css/home-1.css"
248
- {%-
249
- if
250
- site.crossorigin
251
- -%}
252
- {{
253
- }}
254
- crossorigin="anonymous"
255
- {%-
256
- endif
257
- -%}
258
- />
205
+ <link rel="stylesheet" href="/assets/css/home-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
206
+ endif -%} />
259
207
  {%- endif -%} {%- if page.layout == "feature-1" or page.newBox or
260
208
  page.layout == "feature-download" -%}
261
- <link
262
- rel="stylesheet"
263
- href="/assets/css/feature-1.css"
264
- {%-
265
- if
266
- site.crossorigin
267
- -%}
268
- {{
269
- }}
270
- crossorigin="anonymous"
271
- {%-
272
- endif
273
- -%}
274
- />
209
+ <link rel="stylesheet" href="/assets/css/feature-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
210
+ endif -%} />
275
211
  {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
276
- <link
277
- rel="stylesheet"
278
- href="/assets/css/common.css"
279
- {%-
280
- if
281
- site.crossorigin
282
- -%}
283
- {{
284
- }}
285
- crossorigin="anonymous"
286
- {%-
287
- endif
288
- -%}
289
- />
212
+ <link rel="stylesheet" href="/assets/css/common.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
213
+ endif -%} />
290
214
  {%- endif -%} {%- if page.layout == 'imagekit' -%}
291
- <link
292
- rel="stylesheet"
293
- href="/assets/css/imagekit.css"
294
- {%-
295
- if
296
- site.crossorigin
297
- -%}
298
- {{
299
- }}
300
- crossorigin="anonymous"
301
- {%-
302
- endif
303
- -%}
304
- />
215
+ <link rel="stylesheet" href="/assets/css/imagekit.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
216
+ endif -%} />
217
+ {%- endif -%}
305
218
  {%- endif -%}
306
219
 
307
220
  <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
308
221
  <meta property="og:title" content="{{title}}" />
309
222
  <meta property="og:description" content="{{description}}" />
310
223
  <meta property="og:type" content="website" />
311
- <meta
312
- data-rh="true"
313
- property="og:url"
314
- content="{{site.url | append: page.url}}"
315
- />
224
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
316
225
  <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
317
226
  <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
318
- <meta
319
- data-rh="true"
320
- property="twitter:url"
321
- content="{{site.url | append: page.url}}"
322
- />
227
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
323
228
  <meta data-rh="true" name="twitter:title" content="{{title}}" />
324
229
  <meta data-rh="true" name="twitter:description" content="{{description}}" />
325
- <meta
326
- data-rh="true"
327
- name="twitter:image:src"
328
- content="{{site.url}}{{favicon}}"
329
- />
230
+ <meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
330
231
  {% include adsense/adsense.html %} {%- if page.noindex -%}
331
232
  <meta name="robots" content="noindex" />
332
233
  {%- endif -%} {%- if site.pwa -%}
@@ -424,4 +325,4 @@
424
325
  monumetric/monumetric.html -%} {%- endif -%} {%- include monumetric/ads.html
425
326
  -%} {%- if page.layout == "feature" or page.layout == "home" -%} {%- include
426
327
  monumetric/profitablecpmgate.html -%} {%- endif -%}
427
- </head>
328
+ </head>
@@ -452,6 +452,10 @@ site.removeJquery != true -%}
452
452
  ></script>
453
453
  {%- endif -%} {{site.data.customcdns.customcdns.jsfiles}} {%- if
454
454
  scriptData.jsfilepaths -%} {%- for path in scriptData.jsfilepaths -%}
455
+
456
+ {%- assign asset_dir = path -%}
457
+ {%- if site.versioning and asset_dir != "" -%}
458
+ {%- if asset_dir contains "https" and asset_dir contains "https://" -%}
455
459
  <script
456
460
  defer
457
461
  src="{{path}}"
@@ -471,6 +475,51 @@ scriptData.jsfilepaths -%} {%- for path in scriptData.jsfilepaths -%}
471
475
  endif
472
476
  -%}
473
477
  ></script>
478
+ {%- else -%}
479
+ <script
480
+ defer
481
+ src="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
482
+ data-folderName="{{page.folderName}}"
483
+ data-lang="{{page.lang}}"
484
+ data-fileName="{{page.fileName}}"
485
+ data-tool="{{page.tool}}"
486
+ data-permalink="{{page.permalink}}"
487
+ {%-
488
+ if
489
+ site.crossorigin
490
+ -%}
491
+ {{
492
+ }}
493
+ crossorigin
494
+ {%-
495
+ endif
496
+ -%}
497
+ ></script>
498
+ {%- endif -%}
499
+ {%- else -%}
500
+ <script
501
+ defer
502
+ src="{{path}}"
503
+ data-folderName="{{page.folderName}}"
504
+ data-lang="{{page.lang}}"
505
+ data-fileName="{{page.fileName}}"
506
+ data-tool="{{page.tool}}"
507
+ data-permalink="{{page.permalink}}"
508
+ {%-
509
+ if
510
+ site.crossorigin
511
+ -%}
512
+ {{
513
+ }}
514
+ crossorigin
515
+ {%-
516
+ endif
517
+ -%}
518
+ ></script>
519
+ {%- endif -%}
520
+
521
+
522
+
474
523
  {%- endfor -%} {%- endif -%} {%- if scriptData.jscdns -%} {%- for item in
475
524
  scriptData.jscdns -%} {{item | replace:"$folderName", page.folderName | replace:
476
525
  "$fileName", page.fileName | replace: "$lang", page.lang | replace: "$tool",
data/assets/js/theme.js CHANGED
@@ -84,8 +84,11 @@ let dropmenu = document.querySelector(".dropmenu");
84
84
  navbarDropdown.addEventListener("click", () => {
85
85
  if (dropmenu.classList.contains("show")) {
86
86
  dropmenu.classList.remove("show");
87
+ dropmenu.style.display = "none"
87
88
  } else {
88
89
  dropmenu.classList.add("show");
90
+ dropmenu.style.display = "block"
91
+ dropmenu.style.padding = ".5rem 0"
89
92
  }
90
93
  });
91
94
  const navbarToggler=document.querySelector('.navbar-toggler')
@@ -93,8 +96,10 @@ const navBar=document.querySelector('#navbarSupportedContent')
93
96
  navbarToggler.addEventListener('click',()=>{
94
97
  if (navBar.classList.contains("show")) {
95
98
  navBar.classList.remove("show");
99
+ navBar.style.display = "none"
96
100
  } else {
97
101
  navBar.classList.add("show");
102
+ navBar.style.display = "block"
98
103
  }
99
104
  })
100
105
  }
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: 3.5.6
4
+ version: 3.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-23 00:00:00.000000000 Z
11
+ date: 2023-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll