appscms-tools-theme 4.9.3 → 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: 4589d1310721104706153af4dfce31e279d47117c2f30762a7eafaeb26f9fd53
4
- data.tar.gz: a416f60512b195274823024c813153d2976563cd4f1987fc3c220fb2e2ae2734
3
+ metadata.gz: 2bb6f2eb1f87e3fdd1fee0293330231fd6516cbc96f3580369a7f78928566dc7
4
+ data.tar.gz: 9916a4e18293d4d5d9280ce252ffdfd4458ca3693aa7210c2f9f335311948ef3
5
5
  SHA512:
6
- metadata.gz: 2f5fb1b17f119016775bebcac94d9531beb491a8ca7995b93dc654dd82c8fb0aaf1b32251a5b08c2fc0d095620fe73ddb7e35b9f28c5764c15478c238d305ad4
7
- data.tar.gz: 84a581d42129e4fdfcae610738c1cb366062167f4b3f7ccc7bca96e708ec8aa753c2ba0a31a63bba84eac6c6ab46e24ee85d9e995d96a5eb4685884e09ff16de
6
+ metadata.gz: 0fedea6c58cee2dc776d04306eb86f9f2861b6dd2d17081c7924636c55073efdf3ba0fb96863e7446620f1d90284ae08a28074de46cfeecfe52354fa9c091f0d
7
+ data.tar.gz: e109938a7ced1e0e9421b7c8374fc3fc7522b173b7b9df7c9aefa59df91a2cdad24488eba752727b894ea00ab3fbe6b02c31ff81ce0ebe292dfcbc1006ada141
data/_data/.DS_Store CHANGED
Binary file
@@ -1,250 +1,80 @@
1
1
  {
2
2
  "Language": "English",
3
3
  "htmlLangAtt": "en",
4
- "h1": "Welcome to the home page",
5
- "h2": "All-in-one easy-to-use online PDF tools",
6
- "TITLE": "Home Title",
7
- "META": "See collection of all Android alarm libraries, filter by license, modified date, languages, and select best for your usecase.",
8
- "keywords": "key1,key2,key3,key4",
9
- "img": "/assets/bulb.svg",
4
+ "H1": "Online color palette extractor",
5
+ "img": "/png/assets/img/palette.png",
10
6
  "imgwidth": "40px",
11
7
  "imgheight": "40px",
12
8
  "imgalt": "altvalue",
13
9
  "nofileupload": true,
14
- "author": "ankita",
15
- "contributors": [
16
- {
17
- "name": "ankita"
18
- },
19
- {
20
- "name": "udit"
21
- }
22
- ],
23
- "features": [
24
- {
25
- "category": "All Tools",
26
- "active": true,
27
- "type": "tab",
28
- "display": "block",
29
- "features": [
30
- {
31
- "name": "All tools",
32
- "description": "Appscms feature layout with new design",
33
- "color": "linear-gradient(148deg, #835af2 20%, #1220d8 100%)",
34
- "icon": "/assets/images/digipaint.svg",
35
- "url": "/appscms-feature"
36
- },
37
- {
38
- "name": "All tools",
39
- "description": "Appscms feature layout with new design",
40
- "color": "linear-gradient(148deg, #31d3bd 20%, #187cca 100%)",
41
- "icon": "/assets/images/digipaint.svg",
42
- "url": "/appscms-feature"
43
- },
44
- {
45
- "name": "All tools",
46
- "description": "Appscms feature layout with new design",
47
- "color": "linear-gradient(148deg, #32a0f7 20%, #114793 100%)",
48
- "icon": "/assets/images/digipaint.svg",
49
- "url": "/appscms-feature"
50
- },
51
- {
52
- "name": "All tools",
53
- "description": "Appscms feature layout with new design",
54
- "color": "linear-gradient(148deg, #ffa16b 20%, #db410a 100%)",
55
- "icon": "/assets/images/digipaint.svg",
56
- "url": "/appscms-feature"
57
- },
58
- {
59
- "name": "All tools",
60
- "description": "Appscms feature layout with new design",
61
- "color": "#1A2EE7",
62
- "icon": "/assets/images/digipaint.svg",
63
- "url": "/appscms-feature"
64
- }
65
- ]
66
- },
67
- {
68
- "category": "Calculators",
69
- "type": "tab",
70
- "active": false,
71
- "display": "none",
72
- "features": [
73
- {
74
- "name": "Calculators",
75
- "description": "Appscms feature layout with new design",
76
- "color": "#1A2EE7",
77
- "icon": "/assets/images/digipaint.svg",
78
- "url": "/appscms-feature"
79
- },
80
- {
81
- "name": "Calculators",
82
- "description": "Appscms feature layout with new design",
83
- "color": "#1A2EE7",
84
- "icon": "/assets/images/digipaint.svg",
85
- "url": "/appscms-feature"
86
- },
87
- {
88
- "name": "Calculators",
89
- "description": "Appscms feature layout with new design",
90
- "color": "#1A2EE7",
91
- "icon": "/assets/images/digipaint.svg",
92
- "url": "/appscms-feature"
93
- },
94
- {
95
- "name": "Calculators",
96
- "description": "Appscms feature layout with new design",
97
- "color": "#1A2EE7",
98
- "icon": "/assets/images/digipaint.svg",
99
- "url": "/appscms-feature"
100
- }
101
- ]
102
- },
103
- {
104
- "category": "Calculators",
105
- "type": "link",
106
- "link": "/tools",
107
- "features": []
108
- }
109
- ],
110
-
111
10
 
112
- "filelang": "en",
113
- "display_formats": [
114
- "3gp",
115
- "aac",
116
- "acc",
117
- "aff",
118
- "ai",
119
- "aiff",
120
- "avi",
121
- "bmp",
122
- "cr2",
123
- "dvd",
124
- "flac",
125
- "flv",
126
- "gif",
127
- "heic",
128
- "html",
129
- "jfif",
130
- "jpeg",
131
- "jpg",
132
- "m4a",
133
- "mkv",
134
- "mov",
135
- "mp3",
136
- "mp4",
137
- "mpeg",
138
- "opus",
139
- "pdf",
140
- "png",
141
- "psd",
142
- "svg",
143
- "tiff",
144
- "vmv",
145
- "wav",
146
- "webm",
147
- "webp",
148
- "wma"
11
+ "H2": "Extract a color palette from a PNG file",
12
+ "TITLE": "PNG palette extractor- Get a list of all colors used in png file",
13
+ "META": "This tool helps to find the color on the image quickly. Using this PNG palette extractor online tool you can easily extract dominant colors from any image and get a list of all colors matching the image theme. ",
14
+ "width": "",
15
+ "LABEL": "",
16
+ "BREADCRUMB_LABEL": "",
17
+ "color": "#ad81ee",
18
+ "TEXTUAL_CONTENT": [
19
+ {
20
+ "priority": 1,
21
+ "logoUrl": "/png/assets/images/quality.svg",
22
+ "header": "",
23
+ "content": ""
24
+ },
25
+ {
26
+ "priority": 1,
27
+ "logoUrl": "/png/assets/images/secure.svg",
28
+ "header": "",
29
+ "content": ""
30
+ },
31
+ {
32
+ "priority": 1,
33
+ "logoUrl": "/png/assets/images/flexible.svg",
34
+ "header": "",
35
+ "content": ""
36
+ },
37
+ {
38
+ "priority": 1,
39
+ "logoUrl": "/png/assets/images/users.svg",
40
+ "header": "",
41
+ "content": ""
42
+ },
43
+ {
44
+ "priority": 1,
45
+ "logoUrl": "/png/assets/images/free.svg",
46
+ "header": "",
47
+ "content": ""
48
+ },
49
+ {
50
+ "priority": 1,
51
+ "logoUrl": "/png/assets/images/download.svg",
52
+ "header": "",
53
+ "content": ""
54
+ }
55
+ ],
56
+ "HOW_TO_CONTENT": {
57
+ "logoImageUrl": "/assets/images/idea.svg",
58
+ "heading": "",
59
+ "steps": []
60
+ },
61
+ "FAQ": [
62
+ {
63
+ "question": "",
64
+ "answer": ""
65
+ }
149
66
  ],
150
- "compare_formats": ["JPG", "png"],
151
-
152
- "USP_Heading": "USP Heading",
153
- "USPS": [
154
- {
155
- "USP_VALUE": "USP_VALUE",
156
- "USP_FACTOR": "USP_FACTOR"
157
- },
158
- {
159
- "USP_VALUE": "USP_VALUE",
160
- "USP_FACTOR": "USP_FACTOR"
161
- },
162
- {
163
- "USP_VALUE": "USP_VALUE",
164
- "USP_FACTOR": "USP_FACTOR"
165
- },
166
- {
167
- "USP_VALUE": "USP_VALUE",
168
- "USP_FACTOR": "USP_FACTOR"
169
- },
170
- {
171
- "USP_VALUE": "USP_VALUE",
172
- "USP_FACTOR": "USP_FACTOR"
173
- }
67
+ "jsfilepaths": [
68
+ "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js",
69
+ "https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js",
70
+ "https://cdnjs.cloudflare.com/ajax/libs/color-thief/2.3.0/color-thief.umd.js",
71
+ "/assets/js/googledrive.js",
72
+ "/png/assets/js/app.js"
73
+
174
74
  ],
175
- "jsfilepaths": [],
176
- "posts": [
177
- {
178
- "tags": ["ok"],
179
- "categories": ["Scrabble", "history"],
180
- "layout": "appscms-post",
181
- "title": "Everything has beauty, but not everyone can see",
182
- "image": "/uploads/output-1.png",
183
- "image2": "/uploads/8-jan.PNG",
184
- "author": "Balark",
185
- "comments": true,
186
- "url": "history-of-company-copy-10",
187
- "path": "_posts/2021-01-08-history-of-company copy 10.md"
188
- },
189
- {
190
- "tags": ["ok"],
191
- "categories": ["Scrabble", "history"],
192
- "layout": "appscms-post",
193
- "title": "Everything has beauty, but not everyone can see",
194
- "image": "/uploads/output-1.png",
195
- "image2": "/uploads/8-jan.PNG",
196
- "author": "Balark",
197
- "comments": true,
198
- "url": "history-of-company-copy-11",
199
- "path": "_posts/2021-01-08-history-of-company copy 11.md"
200
- },
201
- {
202
- "tags": ["ok"],
203
- "categories": ["Scrabble", "history"],
204
- "layout": "appscms-post",
205
- "title": "Everything has beauty, but not everyone can see",
206
- "image": "/uploads/output-1.png",
207
- "image2": "/uploads/8-jan.PNG",
208
- "author": "Balark",
209
- "comments": true,
210
- "url": "history-of-company-copy-12",
211
- "path": "_posts/2021-01-08-history-of-company copy 12.md"
212
- },
213
- {
214
- "tags": ["ok"],
215
- "categories": ["Scrabble", "history"],
216
- "layout": "appscms-post",
217
- "title": "Everything has beauty, but not everyone can see",
218
- "image": "/uploads/output-1.png",
219
- "image2": "/uploads/8-jan.PNG",
220
- "author": "Balark",
221
- "comments": true,
222
- "url": "history-of-company-copy-13",
223
- "path": "_posts/2021-01-08-history-of-company copy 13.md"
224
- },
225
- {
226
- "tags": ["ok"],
227
- "categories": ["Scrabble", "history"],
228
- "layout": "appscms-post",
229
- "title": "Everything has beauty, but not everyone can see",
230
- "image": "/uploads/output-1.png",
231
- "image2": "/uploads/8-jan.PNG",
232
- "author": "Balark",
233
- "comments": true,
234
- "url": "history-of-company-copy-14",
235
- "path": "_posts/2021-01-08-history-of-company copy 14.md"
236
- },
237
- {
238
- "tags": ["ok"],
239
- "categories": ["Scrabble", "history"],
240
- "layout": "appscms-post",
241
- "title": "Everything has beauty, but not everyone can see",
242
- "image": "/uploads/output-1.png",
243
- "image2": "/uploads/8-jan.PNG",
244
- "author": "Balark",
245
- "comments": true,
246
- "url": "history-of-company-copy-15",
247
- "path": "_posts/2021-01-08-history-of-company copy 15.md"
248
- }
75
+ "csscdns": [
76
+ "<link rel=\"stylesheet\" href=\"/png/assets/css/utils.css\" />",
77
+ "<link rel=\"stylesheet\" href=\"/png/assets/css/app.css\" />",
78
+ "<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css\"/>"
249
79
  ]
250
- }
80
+ }
data/_includes/.DS_Store CHANGED
Binary file
Binary file
@@ -49,169 +49,62 @@
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
 
79
64
  {%- endif -%}
80
-
65
+ {%- if page.customLink -%}
66
+ <link rel="canonical" href="{{site.url | append: page.customLink}}" />
67
+ {%- else -%}
81
68
  <link rel="canonical" href="{{site.url | append: page.url}}" />
69
+ {%- endif -%}
82
70
 
83
- <link
84
- rel="stylesheet"
85
- href="/assets/css/bootstrap.min.css"
86
- {%-
87
- if
88
- site.crossorigin
89
- -%}
90
- {{
91
- }}
92
- crossorigin="anonymous"
93
- {%-
94
- endif
95
- -%}
96
- />
71
+
72
+ <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
73
+ {%- endif -%} />
97
74
 
98
75
  {%- if dataToShow.css -%}
99
76
 
100
- <link
101
- rel="stylesheet"
102
- href="{{dataToShow.css}}"
103
- {%-
104
- if
105
- site.crossorigin
106
- -%}
107
- {{
108
- }}
109
- crossorigin="anonymous"
110
- {%-
111
- endif
112
- -%}
113
- />
77
+ <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
78
+ -%} />
114
79
  {%- else -%} {%- endif -%} {%- if site.monumetricId -%}
115
80
 
116
- <link
117
- rel="stylesheet"
118
- href="/assets/css/responsive.css"
119
- {%-
120
- if
121
- site.crossorigin
122
- -%}
123
- {{
124
- }}
125
- crossorigin="anonymous"
126
- {%-
127
- endif
128
- -%}
129
- />
81
+ <link rel="stylesheet" href="/assets/css/responsive.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
82
+ endif -%} />
130
83
 
131
84
  {%- endif -%} {%- if page.layout == "calculator" -%}
132
85
 
133
- <link
134
- rel="stylesheet"
135
- href="/assets/css/calculators.css"
136
- {%-
137
- if
138
- site.crossorigin
139
- -%}
140
- {{
141
- }}
142
- crossorigin="anonymous"
143
- {%-
144
- endif
145
- -%}
146
- />
86
+ <link rel="stylesheet" href="/assets/css/calculators.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
87
+ {%- endif -%} />
147
88
 
148
89
  {%- endif -%} {%- if page.layout == "home-1" -%}
149
90
 
150
- <link
151
- rel="stylesheet"
152
- href="/assets/css/home-1.css"
153
- {%-
154
- if
155
- site.crossorigin
156
- -%}
157
- {{
158
- }}
159
- crossorigin="anonymous"
160
- {%-
161
- endif
162
- -%}
163
- />
91
+ <link rel="stylesheet" href="/assets/css/home-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
92
+ endif -%} />
164
93
 
165
94
  {%- endif -%} {%- if page.layout == "feature-1" or page.newBox or page.layout
166
95
  == "feature-download" -%}
167
96
 
168
- <link
169
- rel="stylesheet"
170
- href="/assets/css/feature-1.css"
171
- {%-
172
- if
173
- site.crossorigin
174
- -%}
175
- {{
176
- }}
177
- crossorigin="anonymous"
178
- {%-
179
- endif
180
- -%}
181
- />
97
+ <link rel="stylesheet" href="/assets/css/feature-1.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
98
+ endif -%} />
182
99
 
183
100
  {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
184
101
 
185
- <link
186
- rel="stylesheet"
187
- href="/assets/css/common.css"
188
- {%-
189
- if
190
- site.crossorigin
191
- -%}
192
- {{
193
- }}
194
- crossorigin="anonymous"
195
- {%-
196
- endif
197
- -%}
198
- />
102
+ <link rel="stylesheet" href="/assets/css/common.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
103
+ endif -%} />
199
104
 
200
105
  {%- endif -%} {%- if page.layout == "contenttool-home" -%}
201
- <link
202
- rel="stylesheet"
203
- href="/assets/css/appscms-contenttool.css"
204
- {%-
205
- if
206
- site.crossorigin
207
- -%}
208
- {{
209
- }}
210
- crossorigin="anonymous"
211
- {%-
212
- endif
213
- -%}
214
- />
106
+ <link rel="stylesheet" href="/assets/css/appscms-contenttool.css" {%- if site.crossorigin -%} {{ }}
107
+ crossorigin="anonymous" {%- endif -%} />
215
108
  {%- endif -%}
216
109
 
217
110
  <link rel="stylesheet" href="/assets/css/appscms-variables.css" />
@@ -238,59 +131,42 @@
238
131
  <link rel="stylesheet" href="/assets/css/devtool-main.css" />
239
132
  {%- endif -%} {%- if page.layout == 'appscms-imagekit' -%}
240
133
  <link rel="stylesheet" href="/assets/css/appscms-feature.css" />
241
- <link
242
- rel="stylesheet"
243
- href="/assets/css/appscms-imagekit.css"
244
- {%-
245
- if
246
- site.crossorigin
247
- -%}
248
- {{
249
- }}
250
- crossorigin="anonymous"
251
- {%-
252
- endif
253
- -%}
254
- />
134
+ <link rel="stylesheet" href="/assets/css/appscms-imagekit.css" {%- if site.crossorigin -%} {{ }}
135
+ crossorigin="anonymous" {%- endif -%} />
255
136
 
256
137
  {%- endif -%}
257
138
  <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
258
139
  <meta property="og:title" content="{{title}}" />
259
140
  <meta property="og:description" content="{{description}}" />
260
141
  <meta property="og:type" content="website" />
261
- <meta
262
- data-rh="true"
263
- property="og:url"
264
- content="{{site.url | append: page.url}}"
265
- />
142
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
266
143
  <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
267
144
  <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
268
- <meta
269
- data-rh="true"
270
- property="twitter:url"
271
- content="{{site.url | append: page.url}}"
272
- />
145
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
273
146
  <meta data-rh="true" name="twitter:title" content="{{title}}" />
274
147
  <meta data-rh="true" name="twitter:description" content="{{description}}" />
275
- <meta
276
- data-rh="true"
277
- name="twitter:image:src"
278
- content="{{site.url}}{{favicon}}"
279
- />
280
- {% 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 -%}
281
152
  <meta name="robots" content="noindex" />
282
- {%- endif -%} {% assign whitelist_urls =
283
- site.data.noindexURLs.internatlionalization_whitelist_urls %} {% assign
284
- noindex_languages = site.data.noindexURLs.noindex_languages %} {% if
285
- noindex_languages contains page.lang %} {% unless whitelist_urls contains
286
- 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 %}
287
158
  <meta name="robots" content="noindex" />
288
- {% endunless %} {% endif %} {% assign blacklist_urls =
289
- site.data.noindexURLs.blacklist_urls %} {% if blacklist_urls contains page.url
290
- %}
159
+ {% endunless %}
160
+ {% endif %}
161
+
162
+ {% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %}
163
+ {% if blacklist_urls contains page.url %}
291
164
  <meta name="robots" content="noindex" />
292
- {% endif %} {%- if site.pwa -%}
165
+ {% endif %}
166
+
167
+
293
168
 
169
+ {%- if site.pwa -%}
294
170
  <link rel="manifest" href="/assets/js/manifest.json" />
295
171
 
296
172
  {%- endif -%} {%- if site.internationalization or site.internationalizationall
@@ -470,4 +346,4 @@
470
346
  monumetric/monumetric.html -%} {%- endif -%} {%- include monumetric/ads.html
471
347
  -%} {%- if page.layout == "feature" or page.layout == "home" -%} {%- include
472
348
  monumetric/profitablecpmgate.html -%} {%- endif -%}
473
- </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.3
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-20 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