appscms-tools-theme 1.4.2 → 1.4.3

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: 4d9da7a9dc72ee10cbd0fe7db5ef2c109af4fd74985998b916ca2b3f1610afd2
4
- data.tar.gz: d9b483cbb6feae6aa5305235424f43a2ba2fbfa2f3943391fc55e260cbca984d
3
+ metadata.gz: da088a493f21695be479920b92fce8821f9cf51c9f20f6f374937e94b8f5c713
4
+ data.tar.gz: 0c9bc6e6a18c664f66aa18d874f16555cb6670bc6f3008069a8c5b8884991839
5
5
  SHA512:
6
- metadata.gz: '0438a060a8b54038fb35a939d3f954cce3bd02e1cf21d4f1c931d45bd7841c0d9bb0405370c5e9da512f0775f10d9c83b9541edf47ef57ad1d820ad33643c606'
7
- data.tar.gz: abf7307dea212c5a6dedadf5462f16985d2e8708748aaefe81b2dd9df421be895d0d598464192c5ef373f7372321e40885d926374aaba029793f05e630043788
6
+ metadata.gz: 4b4496f93ee23461cb2b7b6d565dc5d9d93d8bb3e9e6bfe95b074819534c7859d12cdd70cf1efddae27cd19b91fdb8e19cc0b211b9d78e9742d315b8ef1b3f5b
7
+ data.tar.gz: 2ee86786a934d9bcf0f39d639c2cac7ae0eecc0976cba50cc2df2c5b9437b4af323d7f9f694a7a9e43a96ab699fb8a79d2206c58c5270d8cc6396fcd313ad1fa
@@ -0,0 +1,269 @@
1
+ [
2
+ {
3
+ "tags": [],
4
+ "categories": [],
5
+ "title": "Commonly used ADB file commands",
6
+ "image": "http://localhost:4000/uploads/output-12.png",
7
+ "layout": "post",
8
+ "hero": "Keshav",
9
+ "comments": false,
10
+ "author": "Keshav",
11
+ "url": "/blog/commonly-used-adb-file-commands",
12
+ "date": "2021-08-14"
13
+ },
14
+ {
15
+ "tags": [
16
+ "ADB device not showing",
17
+ "Troubleshooot",
18
+ "How to"
19
+ ],
20
+ "categories": [
21
+ "General"
22
+ ],
23
+ "title": "How to fix the issue of ADB device not showing ",
24
+ "image": "http://localhost:4000/uploads/output-7.png",
25
+ "layout": "post",
26
+ "hero": "Keshav",
27
+ "comments": false,
28
+ "author": "Keshav",
29
+ "url": "/blog/how-to-fix-the-issue-of-adb-device-not-showing",
30
+ "date": "2021-08-14"
31
+ },
32
+ {
33
+ "tags": [
34
+ "Install ADB Drivers on Windows 10",
35
+ "How to",
36
+ "Install ADB"
37
+ ],
38
+ "categories": [],
39
+ "title": "How to Install ADB Drivers on Windows",
40
+ "image": "http://localhost:4000/uploads/output-10.png",
41
+ "layout": "post",
42
+ "hero": "Keshav",
43
+ "comments": false,
44
+ "author": "Keshav",
45
+ "url": "/blog/how-to-install-adb-drivers-on-windows",
46
+ "date": "2021-08-14"
47
+ },
48
+ {
49
+ "tags": [],
50
+ "categories": [],
51
+ "title": "What is ADB Sideload",
52
+ "image": "http://localhost:4000/uploads/output-11.png",
53
+ "layout": "post",
54
+ "hero": "Keshav",
55
+ "comments": false,
56
+ "author": "Keshav",
57
+ "URLS": [
58
+ {
59
+ "name": "url1",
60
+ "url": "url1"
61
+ },
62
+ {
63
+ "name": "url2",
64
+ "url": "url2"
65
+ }
66
+ ],
67
+ "url": "/blog/what-is-adb-sideload",
68
+ "date": "2021-08-14"
69
+ },
70
+ {
71
+ "tags": [
72
+ "Difference MySQL and SQLite",
73
+ "Difference"
74
+ ],
75
+ "categories": [
76
+ "General"
77
+ ],
78
+ "title": "Difference between MySQL and SQLite",
79
+ "image": "http://localhost:4000/uploads/output-6.png",
80
+ "layout": "post",
81
+ "author": "Keshav",
82
+ "comments": false,
83
+ "url": "/blog/difference-between-mysql-and-sqlite",
84
+ "date": "2021-08-08"
85
+ },
86
+ {
87
+ "tags": [
88
+ "SQLite Database Managers",
89
+ "Best Managers",
90
+ "Top four"
91
+ ],
92
+ "categories": [],
93
+ "title": "Top SQLite Database Managers",
94
+ "image": "http://localhost:4000/uploads/output-5.png",
95
+ "layout": "post",
96
+ "author": "Keshav",
97
+ "comments": false,
98
+ "url": "/blog/top-sqlite-database-managers",
99
+ "date": "2021-08-08"
100
+ },
101
+ {
102
+ "tags": [
103
+ "Guide",
104
+ "SQLite in ubuntu",
105
+ "How to"
106
+ ],
107
+ "categories": [
108
+ "General"
109
+ ],
110
+ "title": "How to install SQLite on Ubuntu",
111
+ "image": "http://localhost:4000/uploads/output-3.png",
112
+ "layout": "post",
113
+ "author": "Keshav",
114
+ "comments": false,
115
+ "url": "/blog/how-to-install-sqlite-on-ubuntu",
116
+ "date": "2021-08-06"
117
+ },
118
+ {
119
+ "tags": [
120
+ "SQLite database view Android",
121
+ "SQL viewer",
122
+ "How to"
123
+ ],
124
+ "categories": [],
125
+ "title": "How to view SQLite Database from Android Studio",
126
+ "image": "http://localhost:4000/uploads/output-2.png",
127
+ "layout": "post",
128
+ "hero": "",
129
+ "comments": false,
130
+ "author": "keshav",
131
+ "url": "/blog/how-to-view-sqlite-database-from-android-studio",
132
+ "date": "2021-08-06"
133
+ },
134
+ {
135
+ "tags": [
136
+ "SQLite database limits",
137
+ "Size limits",
138
+ "Guide"
139
+ ],
140
+ "categories": [],
141
+ "title": "Size limits of the SQLite database",
142
+ "image": "http://localhost:4000/uploads/output-4.png",
143
+ "layout": "post",
144
+ "author": "Keshav",
145
+ "comments": false,
146
+ "url": "/blog/size-limits-of-the-sqlite-database",
147
+ "date": "2021-08-06"
148
+ },
149
+ {
150
+ "tags": [],
151
+ "categories": [],
152
+ "title": "3 Ways to run a .JAR file",
153
+ "image": "http://localhost:4000/uploads/how-to-open-jar-files-on-windows-10.jpg",
154
+ "layout": "post",
155
+ "hero": "",
156
+ "author": "ankita",
157
+ "comments": true,
158
+ "url": "/blog/3-ways-to-run-a.jar-file",
159
+ "date": "2020-12-07"
160
+ },
161
+ {
162
+ "tags": [],
163
+ "categories": [],
164
+ "title": "Best .apk decompilers",
165
+ "image": "http://localhost:4000/uploads/decompile-android-apk-files-tools.jpg",
166
+ "layout": "post",
167
+ "hero": "",
168
+ "author": "ankita",
169
+ "comments": true,
170
+ "url": "/blog/best.apk-decompilers",
171
+ "date": "2020-12-07"
172
+ },
173
+ {
174
+ "tags": [],
175
+ "categories": [],
176
+ "title": "How to Open a .JAR file on your PC",
177
+ "image": "http://localhost:4000/uploads/how-to-open-jar-files.jpg",
178
+ "layout": "post",
179
+ "hero": "",
180
+ "author": "ankita",
181
+ "comments": true,
182
+ "url": "/blog/how-to-open-a.jar-file-on-your-pc",
183
+ "date": "2020-12-07"
184
+ },
185
+ {
186
+ "tags": [],
187
+ "categories": [],
188
+ "title": "Why is the .JAR file not opening? | Reason and solution",
189
+ "image": "http://localhost:4000/uploads/maxresdefault-1.jpg",
190
+ "layout": "post",
191
+ "hero": "",
192
+ "author": "ankita",
193
+ "comments": true,
194
+ "url": "/blog/why-is-the.jar-file-not-opening-reason-and-solution",
195
+ "date": "2020-12-07"
196
+ },
197
+ {
198
+ "tags": [],
199
+ "categories": [],
200
+ "title": "Best Java Decompilers",
201
+ "image": "http://localhost:4000/uploads/java-decompiler-2.png",
202
+ "layout": "post",
203
+ "hero": "",
204
+ "author": "ankita",
205
+ "comments": true,
206
+ "url": "/blog/best-java-decompilers",
207
+ "date": "2020-12-04"
208
+ },
209
+ {
210
+ "tags": [],
211
+ "categories": [],
212
+ "title": "Increasing use base by localizing your app",
213
+ "image": "http://localhost:4000/uploads/benefits-of-mobile-app-localization-for-android-and-iphones.png",
214
+ "layout": "post",
215
+ "hero": "",
216
+ "author": "ankita",
217
+ "comments": false,
218
+ "url": "/blog/increasing-use-base-by-localizing-your-app",
219
+ "date": "2020-12-01"
220
+ },
221
+ {
222
+ "tags": [],
223
+ "categories": [],
224
+ "title": "Experimenting with text - ideas for app developers”",
225
+ "image": "http://localhost:4000/uploads/n.png",
226
+ "layout": "post",
227
+ "hero": "",
228
+ "author": "ankita",
229
+ "comments": false,
230
+ "url": "/blog/experimenting-with-text-ideas-for-app-developers",
231
+ "date": "2020-11-26"
232
+ },
233
+ {
234
+ "tags": [],
235
+ "categories": [],
236
+ "title": "Grammatical mistakes which will kill your brand",
237
+ "image": "http://localhost:4000/uploads/g.png",
238
+ "layout": "post",
239
+ "hero": "",
240
+ "author": "ankita",
241
+ "comments": false,
242
+ "url": "/blog/grammatical-mistakes-which-will-kill-your-brand",
243
+ "date": "2020-11-26"
244
+ },
245
+ {
246
+ "tags": [],
247
+ "categories": [],
248
+ "title": "Embarrassing spelling mistakes, #5 will make you ROFL / LOL",
249
+ "image": "http://localhost:4000/uploads/output-4.png",
250
+ "layout": "post",
251
+ "hero": "",
252
+ "author": "ankita",
253
+ "comments": false,
254
+ "url": "/blog/embarrassing-spelling-mistakes-5-will-make-you-rofl-lol",
255
+ "date": "2020-11-25"
256
+ },
257
+ {
258
+ "tags": [],
259
+ "categories": [],
260
+ "title": "Common spelling mistakes in english, which will kill your brand-First impressions count!",
261
+ "image": "http://localhost:4000/uploads/output-3.png",
262
+ "layout": "post",
263
+ "hero": "",
264
+ "author": "ankita",
265
+ "comments": false,
266
+ "url": "/blog/common-spelling-mistakes-in-english-which-will-kill-your-brand-first-impressions-count",
267
+ "date": "2020-11-20"
268
+ }
269
+ ]
@@ -0,0 +1,43 @@
1
+ <div class="container">
2
+ {% assign blogData= site.data.blog.blog %}
3
+ <div class="relatedPosts">
4
+ {%- if blogData.size>0 -%}
5
+ <h2 class="related_post_heading">Recent Posts</h1>
6
+ {%- endif -%}
7
+ <div class="row">
8
+ {% for post in blogData limit: 6%}
9
+ {%- include /authors/authors.html -%}
10
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
11
+ <div class="card h-100">
12
+ <a href="{{ post.url }}">
13
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
14
+ alt="">
15
+ </a>
16
+ <div class="card-body">
17
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
18
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
19
+ </a>
20
+ </div>
21
+ <div class="card-footer bg-white">
22
+ <div class="wrapfooter">
23
+ {% if post.author %}
24
+ <span class="meta-footer-thumb">
25
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
26
+ </span>
27
+ {% endif %}
28
+ <span class="author-meta">
29
+ <span class="post-name">
30
+ <a target="_blank" href="/blog">{{authorName}}</a>
31
+ </span><br>
32
+ <span class="post-date">{{post.date | date_to_string }}</span>
33
+ </span>
34
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
35
+ title="Read Story">Read More</a></span>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ {% endfor %}
41
+ </div>
42
+ </div>
43
+ </div>
@@ -0,0 +1,159 @@
1
+ <div class="container">
2
+ <div class="relatedPosts">
3
+
4
+ <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
5
+
6
+ {% assign blogData= site.data.blog.blog %}
7
+
8
+
9
+ {% assign maxRelated = 6 %}
10
+ {% assign minCommonTags = 1 %}
11
+ {% assign maxRelatedCounter = 0 %}
12
+
13
+ <div class="row">
14
+ {% for post in blogData %}
15
+ {% assign sameTagCount = 0 %}
16
+ {% assign commonTags = '' %}
17
+
18
+
19
+ {%- if page.categories-%}
20
+ {% for category in post.categories %}
21
+ {% if post.url != page.url %}
22
+ {% if page.categories contains category %}
23
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
24
+ {% endif %}
25
+ {% endif %}
26
+ {% endfor %}
27
+ {%- endif -%}
28
+
29
+ {%- if page.tags -%}
30
+ {% for tag in post.tags %}
31
+ {% if post.url != page.url %}
32
+ {% if page.tags contains tag %}
33
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
34
+ {% endif %}
35
+ {%- endif -%}
36
+ {% endfor %}
37
+ {%- endif -%}
38
+
39
+
40
+ {% if sameTagCount >= minCommonTags %}
41
+ {%- include authors/authors.html-%}
42
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
43
+ <div class="card h-100">
44
+ <a href="{{ post.url }}">
45
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
46
+ alt="">
47
+ </a>
48
+ <div class="card-body">
49
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
50
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
51
+ </a>
52
+ </div>
53
+ <div class="card-footer bg-white">
54
+ <div class="wrapfooter">
55
+ {% if post.author %}
56
+ <span class="meta-footer-thumb">
57
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
58
+ </span>
59
+ {% endif %}
60
+
61
+ <span class="author-meta">
62
+ <span class="post-name">
63
+ <a target="_blank" href="/blog">{{authorName}}</a>
64
+ </span><br>
65
+ <span class="post-date">{{post.date | date_to_string }}</span>
66
+ </span>
67
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
68
+ title="Read Story">Read
69
+ More</a></span>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
75
+ {% if maxRelatedCounter >= maxRelated %}
76
+ {% break %}
77
+ {% endif %}
78
+ {%- else -%}
79
+ {%- endif -%}
80
+ {% endfor %}
81
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
82
+
83
+
84
+
85
+
86
+ {%- if remamingPosts > 0 -%}
87
+ {% assign posts = blogData | where_exp:"post","post.url != page.url" %}
88
+ {% for post in posts %}
89
+ {%- if remamingPosts > 0 -%}
90
+ {%- assign tagData = true -%}
91
+ {%- assign catData = true -%}
92
+ {%- if page.tags -%}
93
+ {% for tag in post.tags %}
94
+ {% if post.url != page.url %}
95
+ {% if page.tags contains tag %}
96
+ {%- assign tagData = false -%}
97
+ {%- break -%}
98
+ {% endif %}
99
+ {%- endif -%}
100
+ {% endfor %}
101
+ {%- endif -%}
102
+ {%- if page.categories-%}
103
+ {%- if tagData == false -%}
104
+ {%- continue -%}
105
+ {%- else -%}
106
+ {% for category in post.categories %}
107
+ {% if post.url != page.url %}
108
+ {% if page.categories contains category %}
109
+ {%- assign catData = false -%}
110
+ {%- break -%}
111
+ {% endif %}
112
+ {% endif %}
113
+ {% endfor %}
114
+ {%- endif -%}
115
+ {%- if catData == false -%}
116
+ {%- continue -%}
117
+ {%- endif -%}
118
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
119
+ {%- include authors/authors.html-%}
120
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
121
+ <div class="card h-100">
122
+ <a href="{{ post.url }}">
123
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
124
+ alt="">
125
+ </a>
126
+ <div class="card-body">
127
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
128
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
129
+ </a>
130
+ </div>
131
+ <div class="card-footer bg-white">
132
+ <div class="wrapfooter">
133
+ {% if post.author %}
134
+ <span class="meta-footer-thumb">
135
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
136
+ </span>
137
+ {% endif %}
138
+ <span class="author-meta">
139
+ <span class="post-name">
140
+ <a target="_blank" href="/blog">{{authorName}}</a>
141
+ </span><br>
142
+ <span class="post-date">{{post.date | date_to_string }}</span>
143
+ </span>
144
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
145
+ title="Read Story">Read
146
+ More</a></span>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ {%- endif -%}
152
+ {%- endif -%}
153
+
154
+ {% endfor %}
155
+ {%- endif -%}
156
+
157
+ </div>
158
+ </div>
159
+ </div>
@@ -146,7 +146,11 @@
146
146
  {%- include section/recent_posts.html -%}
147
147
  {% endif %}
148
148
  {%- if site.customblogdata -%}
149
- {%- include customblog/customblog.html -%}
149
+ {%- if page.categories.size> 0 or page.tags.size>0-%}
150
+ {%- include customblog/relatedposts.html -%}
151
+ {%- else -%}
152
+ {%- include customblog/recentposts.html -%}
153
+ {% endif %}
150
154
  {%- endif -%}
151
155
  {% include footer/index.html %}
152
156
  {% include script.html %}
data/_layouts/home.html CHANGED
@@ -155,7 +155,11 @@
155
155
  {%- else -%}
156
156
  {%- include section/recent_posts.html -%}
157
157
  {% endif %}
158
- {%- include customblog/customblog.html -%}
158
+ {%- if page.categories.size> 0 or page.tags.size>0-%}
159
+ {%- include customblog/relatedposts.html -%}
160
+ {%- else -%}
161
+ {%- include customblog/recentposts.html -%}
162
+ {% endif %}
159
163
  {% include footer/index.html %}
160
164
  {% include script.html %}
161
165
  </body>
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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-08 00:00:00.000000000 Z
11
+ date: 2021-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -64,6 +64,7 @@ files:
64
64
  - _data/about/en/about.json
65
65
  - _data/blog/alertbar.yml
66
66
  - _data/blog/authors.yml
67
+ - _data/blog/blog.json
67
68
  - _data/blog/blog.yml
68
69
  - _data/blog/nav.json
69
70
  - _data/blog/share.yml
@@ -137,6 +138,8 @@ files:
137
138
  - _includes/authors/authors.html
138
139
  - _includes/cssfile/links.html
139
140
  - _includes/custom-head.html
141
+ - _includes/customblog/recentposts.html
142
+ - _includes/customblog/relatedposts.html
140
143
  - _includes/disqus_comments.html
141
144
  - _includes/dropdown/langdropdown.html
142
145
  - _includes/feature.html