appscms-tools-theme 4.7.0 → 4.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 897e910c514b9526dbf0216aff1121e1ad2beea4719ea5dbc68dafc60626a8c7
4
- data.tar.gz: 7a81c816bc10bafc326f5a6ce6ffc4da996d4cdaee51c12c479a42092b89dcc7
3
+ metadata.gz: 4b1a4ced88dcc3df6da66138944c5d945e9d62cd598ba2f21f15f37407642fcb
4
+ data.tar.gz: a890d70697782ee96723a8a14d106a3b32c8aeda2a628ec8eb7defea61a55fef
5
5
  SHA512:
6
- metadata.gz: 32dd7db60f215547d029a00116666d7c23f484477bf87ca2f34bd627f87c2406d2e84a7882e04001fc9f6a29b5e9a238523082d6f95079a782f919e1d8c3553d
7
- data.tar.gz: bb55c4eacdda3714bf48a61cf4c63d661e8261ac1e6c34ad1fb28ea001c148bbcceecabc77357bd9ff7159d9317b821b85eb81b6cd912a28574b7d030a7d8827
6
+ metadata.gz: 219b660f2b9ffdeac6c8277f5d7aab55d30361f982f12b093c16b33eda99eb3cadcd5ffea0f2cf9d49ad8c0b6b37a5885dff72079eb45b34ce0bac8ba8cfda7b
7
+ data.tar.gz: 0bba5d2fd62810951ed639d97b5c6bd55812bac6b47862575087325b3df18f4929162dd5d6867b2cc337f75dc5972a9649fa3b1f4dd61213047957ae6d16efe9
@@ -85,6 +85,19 @@
85
85
  "url": "/appscms-feature"
86
86
  }
87
87
  ],
88
+ "featureCategories": [
89
+ {
90
+ "category": "All Tools",
91
+ "type": "tab",
92
+ "features": []
93
+ },
94
+ {
95
+ "category": "Calculators",
96
+ "type": "link",
97
+ "link": "/tools",
98
+ "features": []
99
+ }
100
+ ],
88
101
 
89
102
  "megaMenu": {
90
103
  "nav-link-name": "Tools",
@@ -1,49 +1,136 @@
1
- {%- include languages/languages.html -%} {%- if page.permalink == nil -%}
1
+ {%- include languages/languages.html -%}
2
+ {%- if page.permalink == nil -%}
2
3
  <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
3
- {%- for i in matchurls -%} {%- for checklang in site.pages -%} {%- if
4
- checklang.permalink == i -%} {%- assign languagetext = [i] -%}
5
- <link
6
- data-rh="true"
7
- rel="alternate"
8
- href="{{site.url}}/{{languagetext[0]}}"
9
- hreflang="{{languagetext[0]}}"
10
- />
11
- {%- endif -%} {%- endfor -%} {%- endfor -%} {%- else -%} {%- if matchurls
12
- contains page.permalink -%} {%- assign languagetext = [i] -%}
4
+ {%- for i in matchurls -%}
5
+ {%- for checklang in site.pages -%}
6
+ {%- if checklang.permalink == i -%}
7
+ {%- assign languagetext = [i] -%}
8
+
9
+
10
+ {% assign whitelist_urls = site.whitelist_urls %}
11
+ {% if site.noindex_languages contains languagetext[0] %}
12
+ {%- if whitelist_urls -%}
13
+ {% for url in whitelist_urls %}
14
+ {% assign current_url = url | remove_first: '/' | strip %}
15
+ {% assign language_url = languagetext[0] | strip %}
16
+ {% if current_url == language_url %}
17
+ {%- assign exclude_url = true -%}
18
+ {% endif %}
19
+ {% endfor %}
20
+ {%- if exclude_url -%}
21
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
22
+ {%- endif -%}
23
+ {%- endif -%}
24
+ {%- else -%}
25
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
26
+ {%- endif -%}
27
+
28
+
29
+ {%- endif -%}
30
+ {%- endfor -%}
31
+ {%- endfor -%}
32
+ {%- else -%}
33
+ {%- if matchurls contains page.permalink -%}
34
+ {%- assign languagetext = [i] -%}
13
35
  <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
14
- {%- for i in matchurls -%} {%- assign languagetext = [i] -%} {%- if i==
15
- page.permalink -%}
16
- <link
17
- data-rh="true"
18
- rel="alternate"
19
- href="{{site.url}}/{{page.permalink}}"
20
- hreflang="{{languagetext[0]}}"
21
- />
22
- {%- else -%} {%- for checklang in site.pages -%} {%- if checklang.permalink == i
23
- -%} {%- assign languagetext = [i] -%}
24
- <link
25
- data-rh="true"
26
- rel="alternate"
27
- href="{{site.url}}/{{languagetext[0]}}"
28
- hreflang="{{languagetext[0]}}"
29
- />
30
- {%- endif -%} {%- endfor -%} {%- endif -%} {%- endfor -%} {%- else -%} {%- for
31
- item in site.pages -%} {%- assign languagetext = [item.lang] -%} {%- assign
32
- pagelink = page.permalink | split: "/" | last-%} {%- assign itemlink =
33
- item.permalink | split: "/" | last-%} {%- if pagelink == itemlink and page.lang
34
- != item.lang and page.permalink != item.permalink -%}
35
- <link
36
- data-rh="true"
37
- rel="alternate"
38
- href="{{site.url}}{{item.permalink}}"
39
- hreflang="{{languagetext[0]}}"
40
- />
41
- {%- endif -%} {%- if pagelink == itemlink and page.lang == item.lang -%}
42
-
43
- <link
44
- data-rh="true"
45
- rel="alternate"
46
- href="{{site.url}}{{item.permalink}}"
47
- hreflang="{{languagetext[0]}}"
48
- />
49
- {%- endif -%} {%- endfor -%} {%- endif -%} {%- endif -%}
36
+ {%- for i in matchurls -%}
37
+ {%- assign languagetext = [i] -%}
38
+ {%- if i== page.permalink -%}
39
+
40
+ {% assign whitelist_urls = site.whitelist_urls %}
41
+ {% if site.noindex_languages contains languagetext[0] %}
42
+ {%- if whitelist_urls -%}
43
+ {% for url in whitelist_urls %}
44
+ {% assign current_url = url | remove_first: '/' | strip %}
45
+ {% assign language_url = languagetext[0] | strip %}
46
+ {% if current_url == language_url %}
47
+ {%- assign exclude_url = true -%}
48
+ {% endif %}
49
+ {% endfor %}
50
+ {%- if exclude_url -%}
51
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
52
+ {%- endif -%}
53
+ {%- endif -%}
54
+ {%- else -%}
55
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{page.permalink}}" hreflang="{{languagetext[0]}}" />
56
+ {%- endif -%}
57
+
58
+ {%- else -%}
59
+ {%- for checklang in site.pages -%}
60
+ {%- if checklang.permalink == i -%}
61
+ {%- assign languagetext = [i] -%}
62
+
63
+ {% if site.noindex_languages contains languagetext[0] %}
64
+ {%- if whitelist_urls -%}
65
+ {% for url in whitelist_urls %}
66
+ {% assign current_url = url | remove_first: '/' | strip %}
67
+ {% assign language_url = languagetext[0] | strip %}
68
+ {% if current_url == language_url %}
69
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
70
+ {% endif %}
71
+ {% endfor %}
72
+ {%- endif -%}
73
+ {%- else -%}
74
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
75
+ {%- endif -%}
76
+
77
+ {%- endif -%}
78
+ {%- endfor -%}
79
+ {%- endif -%}
80
+ {%- endfor -%}
81
+ {%- else -%}
82
+ {%- for item in site.pages -%}
83
+ {%- assign languagetext = [item.lang] -%}
84
+ {%- assign pagelink = page.permalink | split: "/" | last-%}
85
+ {%- assign itemlink = item.permalink | split: "/" | last-%}
86
+ {%- if pagelink == itemlink and page.lang != item.lang and page.permalink != item.permalink -%}
87
+
88
+ {% if site.noindex_languages contains languagetext[0] %}
89
+ {%- if whitelist_urls -%}
90
+ {% for url in whitelist_urls %}
91
+ {% assign current_url = url | strip %}
92
+ {% if current_url == item.permalink %}
93
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
94
+ {% endif %}
95
+ {% endfor %}
96
+ {%- endif -%}
97
+ {%- else -%}
98
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
99
+ {%- endif -%}
100
+
101
+ {%- endif -%}
102
+ {%- if pagelink == itemlink and page.lang == item.lang -%}
103
+
104
+ {% assign whitelist_urls = site.whitelist_urls %}
105
+ {% if site.noindex_languages contains languagetext[0] %}
106
+ {%- if whitelist_urls -%}
107
+ {% for url in whitelist_urls %}
108
+ {% assign current_url = url | strip %}
109
+ {% if current_url == item.permalink %}
110
+ {%- assign exclude_url = true -%}
111
+ {% endif %}
112
+ {% endfor %}
113
+ {%- if exclude_url -%}
114
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
115
+ {%- endif -%}
116
+ {%- endif -%}
117
+ {%- else -%}
118
+
119
+
120
+ {% assign final_permalink = item.permalink %}
121
+ {% if item.permalink contains '/' %}
122
+ {% else %}
123
+ {% assign final_permalink = '/' | append: item.permalink %}
124
+ {% endif %}
125
+
126
+ {%- if site.blacklist_urls contains final_permalink -%}
127
+ {%- else -%}
128
+ <link data-rh="true" rel="alternate" href="{{ site.url }}{{final_permalink}}" hreflang="{{ languagetext[0] }}" />
129
+ {%- endif -%}
130
+
131
+ {%- endif -%}
132
+
133
+ {%- endif -%}
134
+ {%- endfor -%}
135
+ {%- endif -%}
136
+ {%- endif -%}
@@ -1,17 +1,300 @@
1
-
1
+ <style>
2
+ .toolfilter svg {
3
+ height: 20px;
4
+ width: 20px;
5
+ }
6
+ .filter__category svg {
7
+ height: 21px;
8
+ width: 21px;
9
+ }
10
+ .toolfilters {
11
+ width: fit-content;
12
+ min-width: 500px;
13
+ justify-content: space-evenly;
14
+ }
15
+ .toolfilters-wrapper {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ }
20
+ .filter__category {
21
+ display: flex;
22
+ align-items: center;
23
+ border-radius: 99px;
24
+ padding: 12px;
25
+ cursor: pointer;
26
+ margin-left: 6px;
27
+ margin-right: 6px;
28
+ white-space: nowrap;
29
+ color: #525658;
30
+ }
31
+ .filter__name {
32
+ font-weight: 500;
33
+ font-size: 14px;
34
+ line-height: 1.5;
35
+ margin-left: 8px;
36
+ }
37
+ .filter__category:hover {
38
+ background-color: var(--primary-color);
39
+ color: #ffffff;
40
+ }
41
+ .filter__category:hover svg {
42
+ filter: invert(1);
43
+ }
44
+ </style>
2
45
  <div class="container">
3
- <div class="row justify-content-center">
4
- <div class="col-lg-9 col-md-12 col-sm-12 pt-sm-3">
5
- <div class="toolfilters-wrapper">
6
- <div class="toolfilters">
7
- <div class="toolfilter active toolfilter-all">All</div>
8
- <div class="toolfilter toolfilter-latest">Latest</div>
9
- <div class="toolfilter toolfilter-crop">Crop</div>
10
- <div class="toolfilter toolfilter-filter">Filters</div>
11
- <div class="toolfilter toolfilter-Social">Social</div>
12
-
46
+ <div class="row justify-content-center">
47
+ <div class="col-lg-9 col-md-12 col-sm-12 pt-sm-3">
48
+ <div class="toolfilters-wrapper">
49
+ <div class="toolfilters">
50
+ {%- for item in pageData.featureCategories -%} {%- if item.link -%}
51
+ <a
52
+ href="{{item.link}}"
53
+ class="filter__category"
54
+ data-tools-block-type="1"
55
+ >
56
+ <svg
57
+ viewBox="0 0 48 48"
58
+ fill="none"
59
+ xmlns="http://www.w3.org/2000/svg"
60
+ stroke="#ffffff"
61
+ >
62
+ <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
63
+ <g
64
+ id="SVGRepo_tracerCarrier"
65
+ stroke-linecap="round"
66
+ stroke-linejoin="round"
67
+ ></g>
68
+ <g id="SVGRepo_iconCarrier">
69
+ <rect
70
+ width="48"
71
+ height="48"
72
+ fill="white"
73
+ fill-opacity="0.01"
74
+ ></rect>
75
+ <rect
76
+ x="4"
77
+ y="4"
78
+ width="16"
79
+ height="16"
80
+ rx="2"
81
+ fill="#525658"
82
+ stroke="#525658"
83
+ stroke-width="4"
84
+ stroke-linejoin="round"
85
+ ></rect>
86
+ <rect
87
+ x="4"
88
+ y="28"
89
+ width="16"
90
+ height="16"
91
+ rx="2"
92
+ fill="#525658"
93
+ stroke="#525658"
94
+ stroke-width="4"
95
+ stroke-linejoin="round"
96
+ ></rect>
97
+ <rect
98
+ x="28"
99
+ y="4"
100
+ width="16"
101
+ height="16"
102
+ rx="2"
103
+ fill="#525658"
104
+ stroke="#525658"
105
+ stroke-width="4"
106
+ stroke-linejoin="round"
107
+ ></rect>
108
+ <path
109
+ d="M28 28H44"
110
+ stroke="#525658"
111
+ stroke-width="4"
112
+ stroke-linecap="round"
113
+ stroke-linejoin="round"
114
+ ></path>
115
+ <path
116
+ d="M36 36H44"
117
+ stroke="#525658"
118
+ stroke-width="4"
119
+ stroke-linecap="round"
120
+ stroke-linejoin="round"
121
+ ></path>
122
+ <path
123
+ d="M28 44H44"
124
+ stroke="#525658"
125
+ stroke-width="4"
126
+ stroke-linecap="round"
127
+ stroke-linejoin="round"
128
+ ></path>
129
+ </g>
130
+ </svg>
131
+
132
+ <span class="filter__name">{{item.category}}</span>
133
+ </a>
134
+ {%- else -%}
135
+ <div class="filter__category" data-tools-block-type="1">
136
+ <svg
137
+ viewBox="0 0 48 48"
138
+ fill="none"
139
+ xmlns="http://www.w3.org/2000/svg"
140
+ stroke="#ffffff"
141
+ >
142
+ <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
143
+ <g
144
+ id="SVGRepo_tracerCarrier"
145
+ stroke-linecap="round"
146
+ stroke-linejoin="round"
147
+ ></g>
148
+ <g id="SVGRepo_iconCarrier">
149
+ <rect
150
+ width="48"
151
+ height="48"
152
+ fill="white"
153
+ fill-opacity="0.01"
154
+ ></rect>
155
+ <rect
156
+ x="4"
157
+ y="4"
158
+ width="16"
159
+ height="16"
160
+ rx="2"
161
+ fill="#525658"
162
+ stroke="#525658"
163
+ stroke-width="4"
164
+ stroke-linejoin="round"
165
+ ></rect>
166
+ <rect
167
+ x="4"
168
+ y="28"
169
+ width="16"
170
+ height="16"
171
+ rx="2"
172
+ fill="#525658"
173
+ stroke="#525658"
174
+ stroke-width="4"
175
+ stroke-linejoin="round"
176
+ ></rect>
177
+ <rect
178
+ x="28"
179
+ y="4"
180
+ width="16"
181
+ height="16"
182
+ rx="2"
183
+ fill="#525658"
184
+ stroke="#525658"
185
+ stroke-width="4"
186
+ stroke-linejoin="round"
187
+ ></rect>
188
+ <path
189
+ d="M28 28H44"
190
+ stroke="#525658"
191
+ stroke-width="4"
192
+ stroke-linecap="round"
193
+ stroke-linejoin="round"
194
+ ></path>
195
+ <path
196
+ d="M36 36H44"
197
+ stroke="#525658"
198
+ stroke-width="4"
199
+ stroke-linecap="round"
200
+ stroke-linejoin="round"
201
+ ></path>
202
+ <path
203
+ d="M28 44H44"
204
+ stroke="#525658"
205
+ stroke-width="4"
206
+ stroke-linecap="round"
207
+ stroke-linejoin="round"
208
+ ></path>
209
+ </g>
210
+ </svg>
211
+
212
+ <span class="filter__name">{{item.category}}</span>
213
+ </div>
214
+ {%- endif -%}
215
+
216
+ <div class="filter__category" data-tools-block-type="1">
217
+ <svg
218
+ viewBox="0 0 48 48"
219
+ fill="none"
220
+ xmlns="http://www.w3.org/2000/svg"
221
+ stroke="#ffffff"
222
+ >
223
+ <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
224
+ <g
225
+ id="SVGRepo_tracerCarrier"
226
+ stroke-linecap="round"
227
+ stroke-linejoin="round"
228
+ ></g>
229
+ <g id="SVGRepo_iconCarrier">
230
+ <rect
231
+ width="48"
232
+ height="48"
233
+ fill="white"
234
+ fill-opacity="0.01"
235
+ ></rect>
236
+ <rect
237
+ x="4"
238
+ y="4"
239
+ width="16"
240
+ height="16"
241
+ rx="2"
242
+ fill="#525658"
243
+ stroke="#525658"
244
+ stroke-width="4"
245
+ stroke-linejoin="round"
246
+ ></rect>
247
+ <rect
248
+ x="4"
249
+ y="28"
250
+ width="16"
251
+ height="16"
252
+ rx="2"
253
+ fill="#525658"
254
+ stroke="#525658"
255
+ stroke-width="4"
256
+ stroke-linejoin="round"
257
+ ></rect>
258
+ <rect
259
+ x="28"
260
+ y="4"
261
+ width="16"
262
+ height="16"
263
+ rx="2"
264
+ fill="#525658"
265
+ stroke="#525658"
266
+ stroke-width="4"
267
+ stroke-linejoin="round"
268
+ ></rect>
269
+ <path
270
+ d="M28 28H44"
271
+ stroke="#525658"
272
+ stroke-width="4"
273
+ stroke-linecap="round"
274
+ stroke-linejoin="round"
275
+ ></path>
276
+ <path
277
+ d="M36 36H44"
278
+ stroke="#525658"
279
+ stroke-width="4"
280
+ stroke-linecap="round"
281
+ stroke-linejoin="round"
282
+ ></path>
283
+ <path
284
+ d="M28 44H44"
285
+ stroke="#525658"
286
+ stroke-width="4"
287
+ stroke-linecap="round"
288
+ stroke-linejoin="round"
289
+ ></path>
290
+ </g>
291
+ </svg>
292
+
293
+ <span class="filter__name">Pdf Tools</span>
13
294
  </div>
295
+ {%- endfor -%}
14
296
  </div>
15
297
  </div>
16
298
  </div>
17
299
  </div>
300
+ </div>
@@ -277,10 +277,26 @@
277
277
  name="twitter:image:src"
278
278
  content="{{site.url}}{{favicon}}"
279
279
  />
280
- {% include adsense/adsense.html %} {%- if page.noindex -%}
280
+ {% include adsense/adsense.html %}
281
+
282
+ {%- if page.noindex -%}
281
283
  <meta name="robots" content="noindex" />
284
+ {%- endif -%}
282
285
 
283
- {%- endif -%} {%- if site.pwa -%}
286
+ {% assign whitelist_urls = site.whitelist_urls %}
287
+ {% if site.noindex_languages contains page.lang %}
288
+ {% unless whitelist_urls contains page.url %}
289
+ <meta name="robots" content="noindex" />
290
+ {% endunless %}
291
+ {% endif %}
292
+
293
+ {% if site.blacklist_urls %}
294
+ {% if site.blacklist_urls contains page.url %}
295
+ <meta name="robots" content="noindex">
296
+ {% endif %}
297
+ {% endif %}
298
+
299
+ {%- if site.pwa -%}
284
300
 
285
301
  <link rel="manifest" href="/assets/js/manifest.json" />
286
302
 
@@ -20,11 +20,9 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
20
20
  </div>
21
21
  {%- endif -%} {%- include appscms/headings/headings.html -%} {%- if
22
22
  site.search -%} {%- include appscms/searchbar/searchbar.html -%} {%- endif
23
- -%}
24
-
25
- <!-- {%- include
26
- appscms/category-tabs/category-tabs.html -%} -->
27
- {%- include appscms/home/feature-boxes.html -%}
23
+ -%} {%- if site.categoryTab -%} {%- include
24
+ appscms/category-tabs/category-tabs.html -%} {%- endif -%} {%- include
25
+ appscms/home/feature-boxes.html -%}
28
26
  <div class="appcms-home-content-box" id="appcms-home-content-box">
29
27
  {{ content }}
30
28
  </div>
@@ -34,15 +32,12 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
34
32
  categories= page.categories %} {%- endif -%} {%- if
35
33
  site.data[folder][langen][file].tags -%} {% assign tags=
36
34
  site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
37
- page.tags %} {%- endif -%}
38
- {%- include
39
- appscms/featurehighlight/featurehighlight.html -%} {%- include
40
- appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
41
- include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
42
- appscms/faq/faq.html -%}
43
- {%- include
44
- appscms/usp/usp.html -%}
45
- {%- if pageData.posts.size > 0 -%} {%- include
35
+ page.tags %} {%- endif -%} {%- include
36
+ appscms/featurehighlight/featurehighlight.html -%} {%- include
37
+ appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
38
+ include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
39
+ appscms/faq/faq.html -%} {%- include appscms/usp/usp.html -%} {%- if
40
+ pageData.posts.size > 0 -%} {%- include
46
41
  appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
47
42
  categories.size > 0 or tags.size > 0 -%} {%- include
48
43
  appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
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.7.0
4
+ version: 4.7.1
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-07-06 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll