appscms-tools-theme 4.2.7 → 4.2.8
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 +4 -4
- data/_data/feature/en/compress-pdf.json +1 -1
- data/_data/feature/en/face-detection.json +157 -1
- data/_data/feature/en/split-pdf.json +225 -1
- data/_data/feature/en/theframe.json +161 -1
- data/_includes/appscms/head/bloghead.html +57 -110
- data/_includes/appscms/head/head.html +5 -2
- data/_includes/appscms/howto/howto.html +1 -1
- data/_includes/featurePageAuthors/featurePageAuthors.html +8 -4
- data/_layouts/appscms-author.html +44 -14
- data/_layouts/appscms-authors.html +97 -118
- data/_layouts/author.html +6 -0
- data/_layouts/feature.html +7 -3
- data/_layouts/imagekit.html +180 -171
- data/assets/css/imagekit.css +1 -1
- metadata +3 -3
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
{%- if page.layout == "appscms-authors" or page.layout == "appscms-author" -%}
|
|
3
|
-
{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
{%- include /authors/authors.html -%}
|
|
4
|
+
{%- assign pageAuthorName = page.authorName | split: " " -%}
|
|
5
|
+
{%- assign pageAuthorNameFirst = pageAuthorName.first | downcase -%}
|
|
6
|
+
{%- assign collectionData = [pageAuthorNameFirst] -%}
|
|
7
|
+
{%- for item in collectionData -%}
|
|
8
|
+
{%- if forloop.index == 1 -%}
|
|
9
|
+
{%- assign authorName = item -%}
|
|
10
|
+
{%- endif -%}
|
|
11
|
+
{%- if forloop.index == 2 -%}
|
|
12
|
+
{%- assign authorPick = item -%}
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
{%- if forloop.index == 3 -%}
|
|
15
|
+
{%- assign bio = item -%}
|
|
16
|
+
{%- endif -%}
|
|
17
|
+
{%- if forloop.index == 4 -%}
|
|
18
|
+
{%- assign authorTwitter = item -%}
|
|
19
|
+
{%- endif -%}
|
|
20
|
+
{%- endfor -%}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
{% capture author_info %}
|
|
24
|
+
{% assign author = authorName %}
|
|
25
|
+
{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %}
|
|
26
|
+
{% capture author_name %}
|
|
27
|
+
{% assign author = authorName %}{{ author }}
|
|
28
|
+
{% endcapture %}
|
|
29
|
+
{% assign authorPageTitle = author_info %}
|
|
30
|
+
{% assign author_name = author_name %}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
{%- if authorName -%}
|
|
34
|
+
{%- assign title = authorName -%}
|
|
35
|
+
{%- else -%}
|
|
36
|
+
{%- assign title = "Our Authors" -%}
|
|
37
|
+
{%- endif -%}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
10
41
|
{%- assign description = pagedescription-%} {%- else -%} {%- assign
|
|
11
42
|
pagedescriptionlength = page.description | split: ' ' -%} {%- if
|
|
12
43
|
pagedescriptionlength.size > 5 -%} {%- assign pagedescriptionlength =
|
|
@@ -39,25 +70,13 @@
|
|
|
39
70
|
<meta charset="UTF-8" />
|
|
40
71
|
<link rel="shortcut icon" href="{{favicon}}" />
|
|
41
72
|
<link rel="canonical" href="{{site.url | append: page.url}}" />
|
|
42
|
-
<meta
|
|
43
|
-
name="viewport"
|
|
44
|
-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
45
|
-
/>
|
|
73
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
46
74
|
<meta name="keywords" content="{{site.keyboard}}" />
|
|
47
75
|
{%- if page.layout == "appscms-authors" or page.layout == "appscms-author" -%}
|
|
48
76
|
|
|
49
|
-
<meta
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/>
|
|
53
|
-
<meta
|
|
54
|
-
name="og:description"
|
|
55
|
-
content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}"
|
|
56
|
-
/>
|
|
57
|
-
<meta
|
|
58
|
-
property="og:title"
|
|
59
|
-
content="{{ authorPageTitle | default: page.title }}"
|
|
60
|
-
/>
|
|
77
|
+
<meta name="description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}" />
|
|
78
|
+
<meta name="og:description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}" />
|
|
79
|
+
<meta property="og:title" content="{{ authorPageTitle | default: page.title }}" />
|
|
61
80
|
|
|
62
81
|
{%- else -%}
|
|
63
82
|
<meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
|
|
@@ -72,81 +91,24 @@
|
|
|
72
91
|
{%- if page.layout == "appscms-authors" -%}
|
|
73
92
|
<meta name="author" content="Authors" />
|
|
74
93
|
{%- else -%}
|
|
75
|
-
<meta
|
|
76
|
-
name="author"
|
|
77
|
-
content="{{ author | default: page.author| default: site.author_name}}"
|
|
78
|
-
/>
|
|
94
|
+
<meta name="author" content="{{ author | default: page.author| default: site.author_name}}" />
|
|
79
95
|
{%- endif -%} {%- if page.layout == "appscms-author" -%}
|
|
80
96
|
<title>{{authorPageTitle | default: page.title}}</title>
|
|
81
97
|
{%- else -%}
|
|
82
98
|
<title>{{title}}</title>
|
|
83
99
|
{%- endif -%}
|
|
84
100
|
|
|
85
|
-
<link
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
rel="stylesheet"
|
|
91
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css"
|
|
92
|
-
{%-
|
|
93
|
-
if
|
|
94
|
-
site.crossorigin
|
|
95
|
-
-%}
|
|
96
|
-
crossorigin
|
|
97
|
-
{%-
|
|
98
|
-
endif
|
|
99
|
-
-%}
|
|
100
|
-
/>
|
|
101
|
-
<link
|
|
102
|
-
rel="stylesheet"
|
|
103
|
-
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
|
|
104
|
-
{%-
|
|
105
|
-
if
|
|
106
|
-
site.crossorigin
|
|
107
|
-
-%}
|
|
108
|
-
crossorigin
|
|
109
|
-
{%-
|
|
110
|
-
endif
|
|
111
|
-
-%}
|
|
112
|
-
/>
|
|
101
|
+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
|
|
102
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
|
|
103
|
+
site.crossorigin -%} crossorigin {%- endif -%} />
|
|
104
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if
|
|
105
|
+
site.crossorigin -%} crossorigin {%- endif -%} />
|
|
113
106
|
{% include adsense/adsense.html %}
|
|
114
|
-
<link
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
site.crossorigin
|
|
120
|
-
-%}
|
|
121
|
-
crossorigin
|
|
122
|
-
{%-
|
|
123
|
-
endif
|
|
124
|
-
-%}
|
|
125
|
-
/>
|
|
126
|
-
<link
|
|
127
|
-
rel="stylesheet"
|
|
128
|
-
href="/assets/css/appscms-theme.css"
|
|
129
|
-
{%-
|
|
130
|
-
if
|
|
131
|
-
site.crossorigin
|
|
132
|
-
-%}
|
|
133
|
-
crossorigin
|
|
134
|
-
{%-
|
|
135
|
-
endif
|
|
136
|
-
-%}
|
|
137
|
-
/>
|
|
138
|
-
<link
|
|
139
|
-
rel="stylesheet"
|
|
140
|
-
href="{{'/assets/css/appscms-blog.css' | relative_url }}"
|
|
141
|
-
{%-
|
|
142
|
-
if
|
|
143
|
-
site.crossorigin
|
|
144
|
-
-%}
|
|
145
|
-
crossorigin
|
|
146
|
-
{%-
|
|
147
|
-
endif
|
|
148
|
-
-%}
|
|
149
|
-
/>
|
|
107
|
+
<link rel="stylesheet" href="/assets/css/appscms-variables.css" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
108
|
+
-%} />
|
|
109
|
+
<link rel="stylesheet" href="/assets/css/appscms-theme.css" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
110
|
+
<link rel="stylesheet" href="{{'/assets/css/appscms-blog.css' | relative_url }}" {%- if site.crossorigin -%}
|
|
111
|
+
crossorigin {%- endif -%} />
|
|
150
112
|
|
|
151
113
|
{%- if page.layout == "devtool-blog" -%}
|
|
152
114
|
<link rel="stylesheet" href="/assets/css/devtool-main.css" />
|
|
@@ -156,18 +118,8 @@
|
|
|
156
118
|
{%- endif -%}
|
|
157
119
|
|
|
158
120
|
{%- if page.layout == "blog-1" -%}
|
|
159
|
-
<link
|
|
160
|
-
|
|
161
|
-
href="{{'/assets/css/blog-1.css' | relative_url }}"
|
|
162
|
-
{%-
|
|
163
|
-
if
|
|
164
|
-
site.crossorigin
|
|
165
|
-
-%}
|
|
166
|
-
crossorigin
|
|
167
|
-
{%-
|
|
168
|
-
endif
|
|
169
|
-
-%}
|
|
170
|
-
/>
|
|
121
|
+
<link rel="stylesheet" href="{{'/assets/css/blog-1.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
|
|
122
|
+
endif -%} />
|
|
171
123
|
{%- endif -%} {%- include google-analytics.html -%} {% if jekyll.environment
|
|
172
124
|
== 'production' and site.monumetricId %}
|
|
173
125
|
<script>
|
|
@@ -201,12 +153,7 @@
|
|
|
201
153
|
});
|
|
202
154
|
}
|
|
203
155
|
</script>
|
|
204
|
-
<script
|
|
205
|
-
type="text/javascript"
|
|
206
|
-
defer
|
|
207
|
-
delay="{{site.monumetricId}}"
|
|
208
|
-
data-cfasync="false"
|
|
209
|
-
></script>
|
|
156
|
+
<script type="text/javascript" defer delay="{{site.monumetricId}}" data-cfasync="false"></script>
|
|
210
157
|
{% endif %} {% if jekyll.environment == 'development' and site.monumetricId %}
|
|
211
158
|
<script>
|
|
212
159
|
const autoLoadDuration = 5; //In Seconds
|
|
@@ -242,4 +189,4 @@
|
|
|
242
189
|
<script type="text/javascript" delay="{{site.monumetricId}}"></script>
|
|
243
190
|
|
|
244
191
|
{% endif %}
|
|
245
|
-
</head>
|
|
192
|
+
</head>
|
|
@@ -160,10 +160,13 @@
|
|
|
160
160
|
<meta data-rh="true" name="twitter:title" content="{{title}}" />
|
|
161
161
|
<meta data-rh="true" name="twitter:description" content="{{description}}" />
|
|
162
162
|
<meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
|
|
163
|
-
{% include adsense/adsense.html %}
|
|
163
|
+
{% include adsense/adsense.html %}
|
|
164
|
+
{%- if page.noindex -%}
|
|
164
165
|
<meta name="robots" content="noindex" />
|
|
165
166
|
|
|
166
|
-
{%- endif -%}
|
|
167
|
+
{%- endif -%}
|
|
168
|
+
|
|
169
|
+
{%- if site.pwa -%}
|
|
167
170
|
|
|
168
171
|
<link rel="manifest" href="/assets/js/manifest.json" />
|
|
169
172
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
page.value}}
|
|
44
44
|
</h2>
|
|
45
45
|
<ol class="ml-md-3 pl-md-1 p-3">
|
|
46
|
-
{% for data in pageData.HOW_TO_CONTENT.steps
|
|
46
|
+
{% for data in pageData.HOW_TO_CONTENT.steps %}
|
|
47
47
|
<li id="step{{forloop.index}}" class="how-to-list-item">
|
|
48
48
|
{{data | replace: "$variable", page.value}}
|
|
49
49
|
</li>
|
|
@@ -54,16 +54,20 @@
|
|
|
54
54
|
<p class="author_bio mb-0">{{featureAuthorBio}}</p>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
57
|
-
{%- endif %}
|
|
57
|
+
{%- endif %}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
{%- assign contributors = featureData.contributors |
|
|
58
62
|
uniq: 'name' -%} {%- if contributors.size > 0 -%}
|
|
59
63
|
<h3 class="mb-4 w-100 text-center authors-heading font-weight-bolder">
|
|
60
64
|
Contributors
|
|
61
65
|
</h3>
|
|
62
66
|
<div class="d-flex justify-content-center w-100" style="gap: 10px">
|
|
63
67
|
{%- for contributor in contributors -%} {%- assign
|
|
64
|
-
featureContributorData = contributor.name | split: " " -%}
|
|
65
|
-
assign featureContributorData = featureContributorData.first |
|
|
66
|
-
|
|
68
|
+
featureContributorData = contributor.name | split: " " -%}
|
|
69
|
+
{%- assign featureContributorData = featureContributorData.first | downcase -%}
|
|
70
|
+
{%- assign collectionData = [featureContributorData]
|
|
67
71
|
-%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%}
|
|
68
72
|
{%- assign featureContributorDataName = item -%} {%- endif -%} {%-
|
|
69
73
|
if forloop.index == 2 -%} {%- assign featureContributorDataImage =
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
3
|
+
{% include appscms/head/bloghead.html %}
|
|
4
4
|
|
|
5
5
|
<style>
|
|
6
6
|
.author-page {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
.bio-desc {
|
|
62
62
|
margin: 0 0 34px;
|
|
63
|
-
font-size:17px;
|
|
63
|
+
font-size: 17px;
|
|
64
64
|
color: var(--mid-gray);
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -151,21 +151,30 @@
|
|
|
151
151
|
|
|
152
152
|
<body>
|
|
153
153
|
{%- include appscms/navbars/navbar.html -%} {%- include
|
|
154
|
-
|
|
154
|
+
appscms/navbars/toolbar.html -%}
|
|
155
155
|
<section class="author-page">
|
|
156
156
|
<div class="container-fluid">
|
|
157
157
|
<div class="row">
|
|
158
158
|
<div class="col-md-4 left-sidebar">
|
|
159
159
|
<div class="author-bio-data">
|
|
160
160
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
161
|
-
{
|
|
162
|
-
{%-
|
|
163
|
-
{
|
|
164
|
-
{%-
|
|
165
|
-
{%-
|
|
166
|
-
{%- assign
|
|
161
|
+
{%- assign pageAuthorName = page.authorName | split: " " -%}
|
|
162
|
+
{%- assign pageAuthorNameFirst = pageAuthorName.first | downcase -%}
|
|
163
|
+
{%- assign collectionData = [pageAuthorNameFirst] -%}
|
|
164
|
+
{%- for item in collectionData -%}
|
|
165
|
+
{%- if forloop.index == 1 -%}
|
|
166
|
+
{%- assign a = item -%}
|
|
167
167
|
{%- endif -%}
|
|
168
|
-
{
|
|
168
|
+
{%- if forloop.index == 2 -%}
|
|
169
|
+
{%- assign authorPick = item -%}
|
|
170
|
+
{%- endif -%}
|
|
171
|
+
{%- if forloop.index == 3 -%}
|
|
172
|
+
{%- assign authorAbout = item -%}
|
|
173
|
+
{%- endif -%}
|
|
174
|
+
{%- if forloop.index == 4 -%}
|
|
175
|
+
{%- assign authorTwitter = item -%}
|
|
176
|
+
{%- endif -%}
|
|
177
|
+
{%- endfor -%}
|
|
169
178
|
|
|
170
179
|
{%- if a -%}
|
|
171
180
|
<div class="author-detials">
|
|
@@ -177,7 +186,7 @@
|
|
|
177
186
|
{%- if site.name -%}
|
|
178
187
|
<div class="websiteName mt-5 ml-5">
|
|
179
188
|
<h3 class="website-label">Website</h3>
|
|
180
|
-
<p class="website-name"><a href="{{site.
|
|
189
|
+
<p class="website-name"><a href="{{site.url}}">{{site.url}}</a></p>
|
|
181
190
|
</div>
|
|
182
191
|
{%- endif -%}
|
|
183
192
|
|
|
@@ -203,6 +212,14 @@
|
|
|
203
212
|
{%- endif -%}
|
|
204
213
|
|
|
205
214
|
|
|
215
|
+
<div class="websiteName mt-5 ml-5">
|
|
216
|
+
<h3 class="website-label">List of All Authors</h3>
|
|
217
|
+
<br>
|
|
218
|
+
<p class="website-name"><a href="/authors">Our Authors</a></p>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<!-- Contributor Feature show -->
|
|
206
223
|
|
|
207
224
|
{% assign already_run = false %}
|
|
208
225
|
{% assign already_run2 = false %}
|
|
@@ -286,6 +303,8 @@
|
|
|
286
303
|
{% endif %}
|
|
287
304
|
{% endfor %}
|
|
288
305
|
</ol>
|
|
306
|
+
|
|
307
|
+
|
|
289
308
|
</div>
|
|
290
309
|
</div>
|
|
291
310
|
<div class="col-md-8 right-sidebar">
|
|
@@ -296,7 +315,11 @@
|
|
|
296
315
|
</div>
|
|
297
316
|
{%- endif -%}
|
|
298
317
|
|
|
318
|
+
{% assign author_posts = site.posts | where: 'author', page.label %}
|
|
319
|
+
{% if author_posts.size > 0 %}
|
|
299
320
|
<h3 class="mb-4 articles-label">Authored Articles</h3>
|
|
321
|
+
{%- endif -%}
|
|
322
|
+
|
|
300
323
|
<div class="row">
|
|
301
324
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
302
325
|
{% for post in posts %}
|
|
@@ -325,7 +348,9 @@
|
|
|
325
348
|
{% endif %}
|
|
326
349
|
<div class="author-meta">
|
|
327
350
|
<span class="post-name">
|
|
328
|
-
<a target="_blank"
|
|
351
|
+
<a target="_blank"
|
|
352
|
+
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize
|
|
353
|
+
}}</a>
|
|
329
354
|
</span><br>
|
|
330
355
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
331
356
|
</div>
|
|
@@ -385,7 +410,9 @@
|
|
|
385
410
|
{% endif %}
|
|
386
411
|
<div class="author-meta">
|
|
387
412
|
<span class="post-name">
|
|
388
|
-
<a target="_blank"
|
|
413
|
+
<a target="_blank"
|
|
414
|
+
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize
|
|
415
|
+
}}</a>
|
|
389
416
|
</span><br>
|
|
390
417
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
391
418
|
</div>
|
|
@@ -402,8 +429,11 @@
|
|
|
402
429
|
</div>
|
|
403
430
|
</div>
|
|
404
431
|
</section>
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
405
435
|
{% include script.html %}
|
|
406
|
-
{%- include
|
|
436
|
+
{%- include appscms/footer/static-footer.html -%}
|
|
407
437
|
</body>
|
|
408
438
|
|
|
409
439
|
</html>
|
|
@@ -1,132 +1,111 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
{% include appscms/head/bloghead.html %}
|
|
4
|
+
<style>
|
|
5
|
+
.authors-heading {
|
|
6
|
+
font-size: 50px;
|
|
7
|
+
font-weight: 900;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
.authors-info {
|
|
11
|
+
padding: 32px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
text-align: center;
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
background: white;
|
|
19
|
+
box-shadow: 2px 4px 8px #d0cdcd;
|
|
20
|
+
border-radius: 15px;
|
|
21
|
+
margin-bottom: 100px;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
.authors-info .authors-image img {
|
|
25
|
+
display: inline-block;
|
|
26
|
+
width: 150px;
|
|
27
|
+
height: 150px;
|
|
28
|
+
padding: 8px;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
user-select: none;
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
.authors-info .authors-name {
|
|
35
|
+
margin: 1rem;
|
|
36
|
+
font-size: 23px;
|
|
37
|
+
color: #000;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
.authors-info .authors-bio {
|
|
42
|
+
color: #121315;
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
.authors-posts-count {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
color: #000 !important;
|
|
50
|
+
text-decoration: underline !important;
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</a>
|
|
84
|
-
<a
|
|
85
|
-
class="authors-name"
|
|
86
|
-
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
|
|
87
|
-
>{{authorName | capitalize }}</a
|
|
88
|
-
>
|
|
89
|
-
<a href="/blog" class="authors-posts-count"
|
|
90
|
-
>{{ site.posts | where: 'author', post.author | size }}
|
|
91
|
-
Posts</a
|
|
92
|
-
>
|
|
93
|
-
<p class="authors-bio mt-3">{{bio}}</p>
|
|
94
|
-
</div>
|
|
54
|
+
<body>
|
|
55
|
+
{%- include appscms/navbars/navbar.html -%} {%- include
|
|
56
|
+
appscms/navbars/toolbar.html -%}
|
|
57
|
+
<section class="authors-list" style="margin-top: 50px">
|
|
58
|
+
<div class="container">
|
|
59
|
+
<div class="row">
|
|
60
|
+
<div class="col-md-12">
|
|
61
|
+
<h1 class="mb-5 text-center authors-heading">Our Authors</h1>
|
|
62
|
+
<div class="row">
|
|
63
|
+
{% assign minCommonAuthor = 1 %} {% assign sameAuthorCount = 0 %}
|
|
64
|
+
{% assign posts = site.posts | where_exp:"post","post.url !=
|
|
65
|
+
page.url" %} {% assign seen_authors = '' %} {% for post in
|
|
66
|
+
site.posts %} {% unless seen_authors contains post.author %} {%
|
|
67
|
+
assign seen_authors = seen_authors | append: post.author | append:
|
|
68
|
+
',' %}
|
|
69
|
+
<!-- Render your author here -->
|
|
70
|
+
{%- include /authors/authors.html -%} {%- if authorName contains
|
|
71
|
+
authorName -%}
|
|
72
|
+
<div class="col-md-4 mb-5">
|
|
73
|
+
<div class="authors-info">
|
|
74
|
+
<a class="authors-image" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">
|
|
75
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}" />
|
|
76
|
+
</a>
|
|
77
|
+
<a class="authors-name" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName
|
|
78
|
+
|
|
|
79
|
+
capitalize }}</a>
|
|
80
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author | size }}
|
|
81
|
+
Posts</a>
|
|
82
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
|
95
83
|
</div>
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
<a
|
|
112
|
-
class="authors-name"
|
|
113
|
-
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
|
|
114
|
-
>{{authorName | capitalize }}</a
|
|
115
|
-
>
|
|
116
|
-
<a href="/blog" class="authors-posts-count"
|
|
117
|
-
>{{ site.posts | where: 'author', post.author | size }}
|
|
118
|
-
Posts</a
|
|
119
|
-
>
|
|
120
|
-
<p class="authors-bio mt-3">{{bio}}</p>
|
|
121
|
-
</div>
|
|
84
|
+
</div>
|
|
85
|
+
{%- endif -%} {% endunless %} {% endfor %} {% for post in posts %}
|
|
86
|
+
{%- include /authors/authors.html -%} {%- if post.author contains
|
|
87
|
+
authorName -%}
|
|
88
|
+
<div class="d-none col-md-4 mb-4">
|
|
89
|
+
<div class="authors-info">
|
|
90
|
+
<a class="authors-image" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">
|
|
91
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}" />
|
|
92
|
+
</a>
|
|
93
|
+
<a class="authors-name" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName
|
|
94
|
+
|
|
|
95
|
+
capitalize }}</a>
|
|
96
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author | size }}
|
|
97
|
+
Posts</a>
|
|
98
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
|
122
99
|
</div>
|
|
123
|
-
{%- endif -%} {% endfor %}
|
|
124
100
|
</div>
|
|
101
|
+
{%- endif -%} {% endfor %}
|
|
125
102
|
</div>
|
|
126
103
|
</div>
|
|
127
104
|
</div>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</
|
|
105
|
+
</div>
|
|
106
|
+
{% include section/count.html %}
|
|
107
|
+
</section>
|
|
108
|
+
{%- include appscms/footer/static-footer.html -%} {% include script.html %}
|
|
109
|
+
</body>
|
|
110
|
+
|
|
111
|
+
</html>
|
data/_layouts/author.html
CHANGED
|
@@ -199,6 +199,12 @@
|
|
|
199
199
|
{%- endif -%}
|
|
200
200
|
|
|
201
201
|
|
|
202
|
+
<div class="websiteName mt-5 ml-5">
|
|
203
|
+
<h3 class="website-label">List of All Authors</h3>
|
|
204
|
+
<br>
|
|
205
|
+
<p class="website-name"><a href="/authors">Our Authors</a></p>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
202
208
|
|
|
203
209
|
{% assign already_run = false %}
|
|
204
210
|
{% assign already_run2 = false %}
|
data/_layouts/feature.html
CHANGED
|
@@ -305,9 +305,13 @@
|
|
|
305
305
|
{%- else -%} {%- include section/recent_posts.html -%} {%- endif -%} {%-
|
|
306
306
|
endif -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
|
|
307
307
|
tags.size>0-%} {%- include customblog/relatedposts.html -%} {%- else -%} {%-
|
|
308
|
-
include customblog/recentposts.html -%} {% endif %} {%- endif -%}
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
include customblog/recentposts.html -%} {% endif %} {%- endif -%}
|
|
309
|
+
|
|
310
|
+
{%- if featureData.author.size > 0 -%}
|
|
311
|
+
{% include featurePageAuthors/featurePageAuthors.html %}
|
|
312
|
+
{%- endif -%}
|
|
313
|
+
|
|
314
|
+
{% include
|
|
311
315
|
footer/index.html %} {%- if site.customCode -%} {%- include customCode.html
|
|
312
316
|
-%} {%- endif -%} {% include script.html %}
|
|
313
317
|
|