appscms-tools-theme 1.7.7 → 1.8.2

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: 16cb70d03aa0789e4c673f11a44971425480a0b1632115260df12c465a44b73b
4
- data.tar.gz: 1a0581d70af650589df6073f89e943282062f4d468be6ca618bc7fad30ca32d6
3
+ metadata.gz: b89b6a899aec8802a57677cfbd86b61093b3d02b926e50a5704a7da6999c1925
4
+ data.tar.gz: 554e7b7d571c8b8189d280f97e0b0d03535f9ea7798966d1ede84300d0158c91
5
5
  SHA512:
6
- metadata.gz: f6621dad5baf53dca8be375e353c7a60243cdd19551bda4f96f022bbaa97f9b2c00015714cfdcc4178705ce3575bc42935aa1f154f113a92791aa0b69c397ba4
7
- data.tar.gz: 65ebaf1f808c1962f91711f4db15ddd3a071356302a739e26eb7657d002e8250fe4a3ddc8299356b0a3266c03d16403e344916dee3edcd7550608d58371191cb
6
+ metadata.gz: 2d52927a534670a74d7f2185b7946057354570c4d9ba4f337e84d818abdba223021a3a086dcb73cdf3378a8c1151d76a3e9a8934720f66278c7ea26f46e0c297
7
+ data.tar.gz: ad664bbab49cf1c468557697acc10b34bdc41a97b59885c8ab2cc4f3dee37fe637c2ff1e236960717f995d742103b432f838302361a650fcdcde0b68d6708403
@@ -2,6 +2,12 @@
2
2
  "Language": "English",
3
3
  "feature": "compress-pdf",
4
4
  "htmlLangAtt": "en",
5
+ "categories": [
6
+ "Scrabble"
7
+ ],
8
+ "tags": [
9
+ "wordswithletters"
10
+ ],
5
11
  "H1": "Set alarm for $variable minutes from now",
6
12
  "H2": "Simplest online alarm clock to set alarms. Do not close browser tab.",
7
13
  "TITLE": "Set alarm for $variable minutes from now",
@@ -10,27 +10,39 @@
10
10
  {% assign maxRelated = 6 %}
11
11
  {% assign minCommonTags = 1 %}
12
12
  {% assign maxRelatedCounter = 0 %}
13
-
13
+ {% assign file = page.fileName %}
14
+ {% assign lang = "en" %}
15
+ {% assign folder = page.folderName %}
16
+ {%- if site.data[folder][lang][file].categories -%}
17
+ {% assign categories= site.data[folder][lang][file].categories %}
18
+ {%- else -%}
19
+ {% assign categories= page.categories %}
20
+ {%- endif -%}
21
+ {%- if site.data[folder][lang][file].tags -%}
22
+ {% assign tags= site.data[folder][lang][file].tags %}
23
+ {%- else -%}
24
+ {% assign tags= page.tags %}
25
+ {%- endif -%}
14
26
  <div class="row">
15
27
  {% for post in blogData %}
16
28
  {% assign sameTagCount = 0 %}
17
29
  {% assign commonTags = '' %}
18
30
 
19
31
 
20
- {%- if page.categories-%}
32
+ {%- if categories-%}
21
33
  {% for category in post.categories %}
22
34
  {% if post.url != page.url %}
23
- {% if page.categories contains category %}
35
+ {% if categories contains category %}
24
36
  {% assign sameTagCount = sameTagCount | plus: 1 %}
25
37
  {% endif %}
26
38
  {% endif %}
27
39
  {% endfor %}
28
40
  {%- endif -%}
29
41
 
30
- {%- if page.tags -%}
42
+ {%- if tags -%}
31
43
  {% for tag in post.tags %}
32
44
  {% if post.url != page.url %}
33
- {% if page.tags contains tag %}
45
+ {% if tags contains tag %}
34
46
  {% assign sameTagCount = sameTagCount | plus: 1 %}
35
47
  {% endif %}
36
48
  {%- endif -%}
@@ -91,23 +103,23 @@
91
103
  {%- if remamingPosts > 0 -%}
92
104
  {%- assign tagData = true -%}
93
105
  {%- assign catData = true -%}
94
- {%- if page.tags -%}
106
+ {%- if tags -%}
95
107
  {% for tag in post.tags %}
96
108
  {% if post.url != page.url %}
97
- {% if page.tags contains tag %}
109
+ {% if tags contains tag %}
98
110
  {%- assign tagData = false -%}
99
111
  {%- break -%}
100
112
  {% endif %}
101
113
  {%- endif -%}
102
114
  {% endfor %}
103
115
  {%- endif -%}
104
- {%- if page.categories-%}
116
+ {%- if categories-%}
105
117
  {%- if tagData == false -%}
106
118
  {%- continue -%}
107
119
  {%- else -%}
108
120
  {% for category in post.categories %}
109
121
  {% if post.url != page.url %}
110
- {% if page.categories contains category %}
122
+ {% if categories contains category %}
111
123
  {%- assign catData = false -%}
112
124
  {%- break -%}
113
125
  {% endif %}
@@ -189,8 +189,13 @@
189
189
  </li>
190
190
  {%- else -%}
191
191
  <li class="language-drop-down-item">
192
+ {%- if dataFile.features -%}
193
+ <a href="/">English</a>
194
+ {%- else -%}
192
195
  <a href="/{{ page.permalink | split: '/' | last}}">English
193
196
  </a>
197
+ {%- endif -%}
198
+
194
199
  </li>
195
200
  {%- endif -%}
196
201
 
@@ -1,6 +1,11 @@
1
+ {%- if page.matchurls -%}
1
2
  {%- assign matchurls
2
- ="id&&da&&de&&en&&es&&fr&&it&&nl&&pl&&pt&&sv&&vi&&tr&&ru&&uk&&ar&&hi&&th&&ko&&ja&&zh&&zh-TW&&zh-tw"
3
- | split: '&&' -%}
3
+ = page.matchurls | split: '&&' -%}
4
+ {%- else -%}
5
+ {%- assign matchurls
6
+ = "id&&da&&de&&en&&es&&fr&&it&&nl&&pl&&pt&&sv&&vi&&tr&&ru&&uk&&ar&&hi&&th&&ko&&ja&&zh&&zh-TW&&zh-tw" | split: '&&' -%}
7
+ {%- endif -%}
8
+
4
9
  {% assign id = "id&&Bahasa Indonesia" | split: '&&' %}
5
10
  {% assign ms-MY = "ms-MY&&Bahasa Malaysia" | split: '&&' %}
6
11
  {% assign da = "da&&Dansk" | split: '&&' %}
@@ -9,27 +9,39 @@
9
9
  {% assign maxRelated = 6 %}
10
10
  {% assign minCommonTags = 1 %}
11
11
  {% assign maxRelatedCounter = 0 %}
12
-
12
+ {% assign file = page.fileName %}
13
+ {% assign lang = "en" %}
14
+ {% assign folder = page.folderName %}
15
+ {%- if site.data[folder][lang][file].categories -%}
16
+ {% assign categories= site.data[folder][lang][file].categories %}
17
+ {%- else -%}
18
+ {% assign categories= page.categories %}
19
+ {%- endif -%}
20
+ {%- if site.data[folder][lang][file].tags -%}
21
+ {% assign tags= site.data[folder][lang][file].tags %}
22
+ {%- else -%}
23
+ {% assign tags= page.tags %}
24
+ {%- endif -%}
13
25
  <div class="row">
14
26
  {% for post in site.posts %}
15
27
  {% assign sameTagCount = 0 %}
16
28
  {% assign commonTags = '' %}
17
29
 
18
30
 
19
- {%- if page.categories-%}
31
+ {%- if categories -%}
20
32
  {% for category in post.categories %}
21
33
  {% if post.url != page.url %}
22
- {% if page.categories contains category %}
34
+ {% if categories contains category %}
23
35
  {% assign sameTagCount = sameTagCount | plus: 1 %}
24
36
  {% endif %}
25
37
  {% endif %}
26
38
  {% endfor %}
27
39
  {%- endif -%}
28
40
 
29
- {%- if page.tags -%}
41
+ {%- if tags -%}
30
42
  {% for tag in post.tags %}
31
43
  {% if post.url != page.url %}
32
- {% if page.tags contains tag %}
44
+ {% if tags contains tag %}
33
45
  {% assign sameTagCount = sameTagCount | plus: 1 %}
34
46
  {% endif %}
35
47
  {%- endif -%}
@@ -90,23 +102,23 @@
90
102
  {%- if remamingPosts > 0 -%}
91
103
  {%- assign tagData = true -%}
92
104
  {%- assign catData = true -%}
93
- {%- if page.tags -%}
105
+ {%- if tags -%}
94
106
  {% for tag in post.tags %}
95
107
  {% if post.url != page.url %}
96
- {% if page.tags contains tag %}
108
+ {% if tags contains tag %}
97
109
  {%- assign tagData = false -%}
98
110
  {%- break -%}
99
111
  {% endif %}
100
112
  {%- endif -%}
101
113
  {% endfor %}
102
114
  {%- endif -%}
103
- {%- if page.categories-%}
115
+ {%- if categories -%}
104
116
  {%- if tagData == false -%}
105
117
  {%- continue -%}
106
118
  {%- else -%}
107
119
  {% for category in post.categories %}
108
120
  {% if post.url != page.url %}
109
- {% if page.categories contains category %}
121
+ {% if categories contains category %}
110
122
  {%- assign catData = false -%}
111
123
  {%- break -%}
112
124
  {% endif %}
@@ -2,8 +2,6 @@
2
2
  {% assign lang = page.lang %}
3
3
  {% assign folder = page.folderName %}
4
4
  {% assign featureData= site.data[folder][lang][file] %}
5
-
6
-
7
5
  <!DOCTYPE html>
8
6
  <html lang="{{page.lang}}">
9
7
  {% include head/index.html %}
@@ -52,6 +50,16 @@
52
50
  <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2>
53
51
  </div>
54
52
  </div>
53
+ {%- if site.noFeatureBox == true -%}
54
+ <div class="feature-content-box">
55
+ {{content}}
56
+ </div>
57
+ {%- else -%}
58
+ {%- if page.noBox == true -%}
59
+ <div class="feature-content-box">
60
+ {{content}}
61
+ </div>
62
+ {%- else -%}
55
63
  <div class="box-padding">
56
64
  <div class="d-flex" id="__cond-922051">
57
65
  <div class="flex-container">
@@ -69,6 +77,10 @@
69
77
  </div>
70
78
  </div>
71
79
  </div>
80
+ {%- endif -%}
81
+
82
+ {%- endif -%}
83
+
72
84
  <div class="container mt-4 mb-5">
73
85
  <div class="row px-0">
74
86
  {% for data in featureData.TEXTUAL_CONTENT %}
@@ -168,13 +180,24 @@
168
180
  {%- include fileformat/comparisonfiles.html -%}
169
181
  </div>
170
182
  {%- endif -%}
171
- {%- if page.categories.size> 0 or page.tags.size>0-%}
183
+ {%- assign langen = "en" -%}
184
+ {%- if site.data[folder][langen][file].categories -%}
185
+ {% assign categories= site.data[folder][langen][file].categories %}
186
+ {%- else -%}
187
+ {% assign categories= page.categories %}
188
+ {%- endif -%}
189
+ {%- if site.data[folder][langen][file].tags -%}
190
+ {% assign tags= site.data[folder][langen][file].tags %}
191
+ {%- else -%}
192
+ {% assign tags= page.tags %}
193
+ {%- endif -%}
194
+ {%- if categories.size> 0 or tags.size>0-%}
172
195
  {%- include section/related_categories_post.html -%}
173
196
  {%- else -%}
174
197
  {%- include section/recent_posts.html -%}
175
198
  {% endif %}
176
199
  {%- if site.customblogdata -%}
177
- {%- if page.categories.size> 0 or page.tags.size>0-%}
200
+ {%- if categories.size> 0 or tags.size>0-%}
178
201
  {%- include customblog/relatedposts.html -%}
179
202
  {%- else -%}
180
203
  {%- include customblog/recentposts.html -%}
data/_layouts/home.html CHANGED
@@ -179,13 +179,24 @@
179
179
  {%- include fileformat/comparisonfiles.html -%}
180
180
  </div>
181
181
  {%- endif -%}
182
- {%- if page.categories.size> 0 or page.tags.size>0-%}
182
+ {%- assign langen = "en" -%}
183
+ {%- if site.data[folder][langen][file].categories -%}
184
+ {% assign categories= site.data[folder][langen][file].categories %}
185
+ {%- else -%}
186
+ {% assign categories= page.categories %}
187
+ {%- endif -%}
188
+ {%- if site.data[folder][langen][file].tags -%}
189
+ {% assign tags= site.data[folder][langen][file].tags %}
190
+ {%- else -%}
191
+ {% assign tags= page.tags %}
192
+ {%- endif -%}
193
+ {%- if categories.size> 0 or tags.size>0-%}
183
194
  {%- include section/related_categories_post.html -%}
184
195
  {%- else -%}
185
196
  {%- include section/recent_posts.html -%}
186
197
  {% endif %}
187
198
  {%- if site.customblogdata -%}
188
- {%- if page.categories.size> 0 or page.tags.size>0-%}
199
+ {%- if categories.size> 0 or tags.size>0-%}
189
200
  {%- include customblog/relatedposts.html -%}
190
201
  {%- else -%}
191
202
  {%- include customblog/recentposts.html -%}
data/assets/css/tools.css CHANGED
@@ -47,7 +47,7 @@ a:hover {
47
47
  color: #000;
48
48
  text-decoration: none !important;
49
49
  }
50
- .dropdown-menu {
50
+ .navbar .dropdown-menu {
51
51
  position: fixed;
52
52
  left: 0;
53
53
  top: 71px;
@@ -67,7 +67,7 @@ a:hover {
67
67
  font-weight: 500;
68
68
  }
69
69
  @media (max-width: 992px) {
70
- .dropdown-menu {
70
+ .navbar .dropdown-menu {
71
71
  overflow-y: scroll;
72
72
  height: 500px;
73
73
  position: static !important;
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: 1.7.7
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll