appscms-tools-theme 3.9.6 → 3.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,121 +1,131 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- {% include authorpagehead/index.html %}
4
- <style>
3
+ {% include authorpagehead/index.html %}
4
+ <style>
5
5
  body {
6
- font-family: 'Font Awesome 5 Free' !important;
6
+ font-family: "Font Awesome 5 Free" !important;
7
7
  }
8
8
 
9
9
  .authors-heading {
10
- font-size: 50px;
11
- font-weight: 900;
10
+ font-size: 50px;
11
+ font-weight: 900;
12
12
  }
13
13
 
14
14
  .authors-info {
15
- padding: 32px;
16
- display: flex;
17
- flex-direction: column;
18
- justify-content: center;
19
- text-align: center;
20
- width: 100%;
15
+ padding: 32px;
16
+ display: flex;
17
+ flex-direction: column;
18
+ justify-content: center;
19
+ text-align: center;
20
+ width: 100%;
21
21
  }
22
22
 
23
23
  .authors-info .authors-image img {
24
- display: inline-block;
25
- width: 200px;
26
- height: 200px;
27
- padding: 8px;
28
- border: 5px solid #eee;
29
- border-radius: 50%;
30
- object-fit: cover;
31
- user-select: none;
24
+ display: inline-block;
25
+ width: 200px;
26
+ height: 200px;
27
+ padding: 8px;
28
+ border: 5px solid #eee;
29
+ border-radius: 50%;
30
+ object-fit: cover;
31
+ user-select: none;
32
32
  }
33
33
 
34
34
  .authors-info .authors-name {
35
- margin: 1rem;
36
- font-size: 28px;
37
- color: #000;
38
- font-weight: 900;
35
+ margin: 1rem;
36
+ font-size: 28px;
37
+ color: #000;
38
+ font-weight: 900;
39
39
  }
40
40
 
41
41
  .authors-info .authors-bio {
42
- color: #121315;
43
- font-size: 16px;
42
+ color: #121315;
43
+ font-size: 16px;
44
44
  }
45
45
 
46
46
  .authors-posts-count {
47
- font-size: 24px;
48
- font-weight: 400;
49
- color: #000 !important;
50
- text-decoration: underline !important;
47
+ font-size: 24px;
48
+ font-weight: 400;
49
+ color: #000 !important;
50
+ text-decoration: underline !important;
51
51
  }
52
- </style>
52
+ </style>
53
53
 
54
- <body>
54
+ <body>
55
55
  {%- include header/blogHeader.html -%}
56
- <section class="authors-list" style="margin-top:100px">
57
- <div class="container">
56
+ <section class="authors-list" style="margin-top: 100px">
57
+ <div class="container">
58
+ <div class="row">
59
+ <div class="col-md-12">
60
+ <h1 class="mb-4 text-center authors-heading">Our Authors</h1>
58
61
  <div class="row">
59
- <div class="col-md-12">
60
- <h1 class="mb-4 text-center authors-heading">Our Authors</h1>
61
- <div class="row">
62
- {% assign minCommonAuthor = 1 %}
63
- {% assign sameAuthorCount = 0 %}
64
-
65
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
66
-
67
- {% assign seen_authors = '' %}
68
- {% for post in site.posts %}
69
- {% unless seen_authors contains post.author %}
70
- {% assign seen_authors = seen_authors | append: post.author | append: ',' %}
71
- <!-- Render your author here -->
72
- {%- include /authors/authors.html -%}
73
- {%- if authorName contains authorName -%}
74
- <div class=" col-md-4 mb-4">
75
- <div class="authors-info">
76
- <a class="authors-image"
77
- href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">
78
- <img loading="lazy" src="{{image}}" alt="{{ authorName }}">
79
- </a>
80
- <a class="authors-name"
81
- href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
82
- capitalize }}</a>
83
- <a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
84
- | size }} Posts</a>
85
- <p class="authors-bio mt-3">{{bio}}</p>
86
- </div>
87
- </div>
88
- {%- endif -%}
89
- {% endunless %}
90
- {% endfor %}
91
-
92
-
93
- {% for post in posts %}
94
- {%- include /authors/authors.html -%}
95
- {%- if post.author contains authorName -%}
96
- <div class="d-none col-md-4 mb-4">
97
- <div class="authors-info">
98
- <a class="authors-image"
99
- href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">
100
- <img loading="lazy" src="{{image}}" alt="{{ authorName }}">
101
- </a>
102
- <a class="authors-name"
103
- href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
104
- capitalize }}</a>
105
- <a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
106
- | size }} Posts</a>
107
- <p class="authors-bio mt-3">{{bio}}</p>
108
- </div>
109
- </div>
110
- {%- endif -%}
111
- {% endfor %}
112
- </div>
62
+ {% assign minCommonAuthor = 1 %} {% assign sameAuthorCount = 0 %}
63
+ {% assign posts = site.posts | where_exp:"post","post.url !=
64
+ page.url" %} {% assign seen_authors = '' %} {% for post in
65
+ site.posts %} {% unless seen_authors contains post.author %} {%
66
+ assign seen_authors = seen_authors | append: post.author | append:
67
+ ',' %}
68
+ <!-- Render your author here -->
69
+ {%- include /authors/authors.html -%} {%- if authorName contains
70
+ authorName -%}
71
+ <div class="col-md-4 mb-4">
72
+ <div class="authors-info">
73
+ <a
74
+ class="authors-image"
75
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
76
+ >
77
+ <img
78
+ loading="lazy"
79
+ src="{{image}}"
80
+ alt="{{ authorName }}"
81
+ />
82
+ </a>
83
+ <a
84
+ class="authors-name"
85
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
86
+ >{{authorName | capitalize }}</a
87
+ >
88
+ <a href="/blog" class="authors-posts-count"
89
+ >{{ site.posts | where: 'author', post.author | size }}
90
+ Posts</a
91
+ >
92
+ <p class="authors-bio mt-3">{{bio}}</p>
93
+ </div>
94
+ </div>
95
+ {%- endif -%} {% endunless %} {% endfor %} {% for post in posts %}
96
+ {%- include /authors/authors.html -%} {%- if post.author contains
97
+ authorName -%}
98
+ <div class="d-none col-md-4 mb-4">
99
+ <div class="authors-info">
100
+ <a
101
+ class="authors-image"
102
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
103
+ >
104
+ <img
105
+ loading="lazy"
106
+ src="{{image}}"
107
+ alt="{{ authorName }}"
108
+ />
109
+ </a>
110
+ <a
111
+ class="authors-name"
112
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
113
+ >{{authorName | capitalize }}</a
114
+ >
115
+ <a href="/blog" class="authors-posts-count"
116
+ >{{ site.posts | where: 'author', post.author | size }}
117
+ Posts</a
118
+ >
119
+ <p class="authors-bio mt-3">{{bio}}</p>
113
120
  </div>
121
+ </div>
122
+ {%- endif -%} {% endfor %}
114
123
  </div>
124
+ </div>
115
125
  </div>
116
- {% include section/count.html %}
126
+ </div>
127
+ {% include section/count.html %}
117
128
  </section>
118
129
  {% include script.html %}
119
- </body>
120
-
121
- </html>
130
+ </body>
131
+ </html>
@@ -0,0 +1,409 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include appscms/head/bloghead.html %}
4
+
5
+ <style>
6
+ .author-page {
7
+ margin-top: 50px;
8
+ }
9
+
10
+ .left-sidebar {
11
+ background-color: #f8f9fa;
12
+ width: 100%;
13
+ /* height: 100vh; */
14
+ padding: 50px;
15
+ }
16
+
17
+ .right-sidebar {
18
+ background-color: #fff;
19
+ padding: 50px;
20
+ }
21
+
22
+ .articles-label {
23
+ border-bottom: 2px solid;
24
+ font-weight: 600;
25
+ font-size: 20px;
26
+ display: inline-block;
27
+ margin-bottom: 40px !important;
28
+ }
29
+
30
+ .contributors-articles-label {
31
+ width: 250px;
32
+ border-bottom: 2px solid;
33
+ font-weight: 600;
34
+ font-size: 28px;
35
+ }
36
+
37
+ .author-detials {
38
+ width: 100%;
39
+ text-align: center;
40
+ }
41
+
42
+ .author-detials .author-image {
43
+ border-radius: 100%;
44
+ width: 160px;
45
+ height: 160px;
46
+ }
47
+
48
+ .author-detials .author-name {
49
+ font-weight: 500;
50
+ font-size: 20px;
51
+ }
52
+
53
+ .about_heading {
54
+ font-weight: 900;
55
+ font-size: 30px;
56
+ margin: 30px 0 20px;
57
+ width: 90px;
58
+ border-bottom: 2px solid;
59
+ }
60
+
61
+ .bio-desc {
62
+ margin: 0 0 34px;
63
+ font-size:17px;
64
+ color: var(--mid-gray);
65
+ }
66
+
67
+ .website-label,
68
+ .follow-label,
69
+ .landing-page-heading {
70
+ font-size: 20px;
71
+ font-weight: 500;
72
+ }
73
+
74
+ .website-name {
75
+ font-size: 12px;
76
+ }
77
+
78
+ .website-name a {
79
+ opacity: .7;
80
+ color: #6a6a6a;
81
+ font-size: 15px;
82
+ }
83
+
84
+
85
+ .social-icons .list-of-icons {
86
+ display: flex;
87
+ flex-direction: column;
88
+ width: 100%;
89
+ }
90
+
91
+ .list-of-icons li {
92
+ font-size: 20px;
93
+ padding: 5px 0px;
94
+ }
95
+
96
+ .list-of-icons li a {
97
+ color: #6a6a6a;
98
+ }
99
+
100
+ .list-of-icons li a span,
101
+ .contributor-name,
102
+ .feature-name {
103
+ font-size: 15px;
104
+ opacity: .7;
105
+ color: #6a6a6a;
106
+ ;
107
+ }
108
+
109
+ .website-name a:hover,
110
+ .list-of-icons li a span:hover,
111
+ .feature-name:hover {
112
+ text-decoration: underline !important;
113
+ color: blue;
114
+ }
115
+
116
+ .card-title {
117
+ font-size: 19px;
118
+ margin: 0 0 15px;
119
+ font-weight: 600;
120
+ text-transform: capitalize;
121
+ }
122
+
123
+ .card-title:hover {
124
+ text-decoration: underline;
125
+ }
126
+
127
+ .blog-desc {
128
+ font-size: 14px;
129
+ }
130
+
131
+ .contributor-image {
132
+ width: 40px;
133
+ border-radius: 100%;
134
+ }
135
+
136
+ .contributors-count {
137
+ background: rgba(175, 184, 193, 0.2);
138
+ padding: 5px;
139
+ font-size: 15px;
140
+ border-radius: 100%;
141
+ }
142
+
143
+ .feature_lists {
144
+ padding: 1rem 0;
145
+ font-size: 16px;
146
+ position: relative;
147
+ left: 20px;
148
+ }
149
+ </style>
150
+
151
+
152
+ <body>
153
+ {%- include appscms/navbars/navbar.html -%} {%- include
154
+ appscms/navbars/toolbar.html -%}
155
+ <section class="author-page">
156
+ <div class="container-fluid">
157
+ <div class="row">
158
+ <div class="col-md-4 left-sidebar">
159
+ <div class="author-bio-data">
160
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
161
+ {% for post in posts %}
162
+ {%- include /authors/authors.html -%}
163
+ {% if authorName contains page.authorName %}
164
+ {%- assign a = authorName -%}
165
+ {%- assign authorPick = image -%}
166
+ {%- assign authorAbout = bio -%}
167
+ {%- endif -%}
168
+ {% endfor %}
169
+
170
+ {%- if a -%}
171
+ <div class="author-detials">
172
+ <img class="author-image" loading="lazy" src="{{authorPick}}" alt="{{ a }}">
173
+ <h1 class="author-name mt-4">{{a}}</h1>
174
+ </div>
175
+ {%- endif -%}
176
+
177
+ {%- if site.name -%}
178
+ <div class="websiteName mt-5 ml-5">
179
+ <h3 class="website-label">Website</h3>
180
+ <p class="website-name"><a href="{{site.name}}">{{site.name}}</a></p>
181
+ </div>
182
+ {%- endif -%}
183
+
184
+ {%- if site.data.blog.share -%}
185
+ <div class="social-icons mt-5 ml-5">
186
+ <ul class="list-of-icons list-unstyled">
187
+ <h3 class="follow-label">Follow Me</h3>
188
+ {% capture title %}{{ page.title }}{% endcapture %}
189
+ {% assign url = page.url | relative_url | prepend: site.url %}
190
+ {% for share in site.data.blog.share.platforms %}
191
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
192
+ <li> <a href=" {{ link }}" data-toggle="tooltip"
193
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
194
+ data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
195
+ <i class="fa-fw {{ share.icon }}"></i>
196
+ <span>{{share.type}}</span>
197
+ </a>
198
+ </li>
199
+ {% endfor %}
200
+ </span>
201
+ </ul>
202
+ </div>
203
+ {%- endif -%}
204
+
205
+
206
+
207
+ {% assign already_run = false %}
208
+ {% assign already_run2 = false %}
209
+ {% assign folder_path = '' %}
210
+ <ol class="authored-content-detials p-0 ml-5 mt-5">
211
+ {% for file in site.pages %}
212
+ {% if file.path contains folder_path %}
213
+ {% assign pageData = file | parse_yaml %}
214
+ {% assign lang = pageData.lang %}
215
+ {% assign foldername = pageData.folderName %}
216
+ {% assign filename = pageData.fileName %}
217
+ {% assign permalink = pageData.permalink %}
218
+ {% assign json_data= site.data[foldername][lang][filename] | json %}
219
+ {%- assign seocontentAuthor = json_data.author | downcase -%}
220
+ {%- assign pageAuthorName = page.label | downcase -%}
221
+
222
+
223
+ {%- if permalink contains '/' -%}
224
+ {%- assign my_url_with_slash = permalink -%}
225
+ {%- else -%}
226
+ {% assign my_url_with_slash = "/" | append: permalink %}
227
+ {%- endif -%}
228
+
229
+
230
+ {%- if seocontentAuthor contains pageAuthorName and already_run == false -%}
231
+ <h3 class="landing-page-heading">Authored content for features</h3>
232
+ <li class="feature_lists">
233
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' '
234
+ |
235
+ capitalize }}</a>
236
+ </li>
237
+ {% assign already_run = true %}
238
+ {%- elsif seocontentAuthor contains pageAuthorName -%}
239
+ <li class="feature_lists">
240
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' '
241
+ |
242
+ capitalize }}</a>
243
+ </li>
244
+ {%- endif -%}
245
+ {% endif %}
246
+ {% endfor %}
247
+ </ol>
248
+
249
+ <ol class="contributed-content-detials p-0 ml-5 mt-5">
250
+ {% for file in site.pages %}
251
+ {% if file.path contains folder_path %}
252
+ {% assign pageData = file | parse_yaml %}
253
+ {% assign lang = pageData.lang %}
254
+ {% assign foldername = pageData.folderName %}
255
+ {% assign filename = pageData.fileName %}
256
+ {% assign permalink = pageData.permalink %}
257
+ {% assign json_data= site.data[foldername][lang][filename] | json %}
258
+ {%- assign seocontentAuthor = json_data.author | downcase -%}
259
+ {%- assign pageAuthorName = page.label | downcase -%}
260
+
261
+
262
+ {%- if permalink contains '/' -%}
263
+ {%- assign my_url_with_slash = permalink -%}
264
+ {%- else -%}
265
+ {% assign my_url_with_slash = "/" | append: permalink %}
266
+ {%- endif -%}
267
+
268
+ {%- for item in json_data.contributors -%}
269
+ {%- assign contributeAuthor = item.name | downcase -%}
270
+ {%- if contributeAuthor contains pageAuthorName and already_run2 == false -%}
271
+ <h3 class="landing-page-heading mb-4">Contributed content for features</h3>
272
+ <li class="feature_lists">
273
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' '
274
+ |
275
+ capitalize }}</a>
276
+ </li>
277
+ {% assign already_run2 = true %}
278
+ {%- elsif contributeAuthor contains pageAuthorName -%}
279
+ <li class="feature_lists">
280
+ <a class=" feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' '
281
+ |
282
+ capitalize }}</a>
283
+ </li>
284
+ {%- endif -%}
285
+ {%- endfor -%}
286
+ {% endif %}
287
+ {% endfor %}
288
+ </ol>
289
+ </div>
290
+ </div>
291
+ <div class="col-md-8 right-sidebar">
292
+ <div class="author-content">
293
+ {%- if authorAbout -%}
294
+ <div class="desc">
295
+ <h2 class="bio-desc">{{authorAbout}}</h2>
296
+ </div>
297
+ {%- endif -%}
298
+
299
+ <h3 class="mb-4 articles-label">Authored Articles</h3>
300
+ <div class="row">
301
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
302
+ {% for post in posts %}
303
+ {%- include /authors/authors.html -%}
304
+ {%- assign postAuthor = post.author | downcase -%}
305
+ {%- assign pageLabel = page.label | downcase -%}
306
+ {%- if postAuthor contains pageLabel -%}
307
+ <div class="col-md-6 mb-5">
308
+ <div class="card h-100 appscms-blog-cards">
309
+ <a href="{{ post.url }}">
310
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
311
+ alt="{{post.title}}">
312
+ </a>
313
+ <div class="card-body">
314
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
315
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
316
+ <p class="blog-desc">{{post.description}}</p>
317
+ </a>
318
+ </div>
319
+ <div class="card-footer bg-white">
320
+ <div class="wrapfooter">
321
+ {% if post.author %}
322
+ <a href="/authors/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
323
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
324
+ </a>
325
+ {% endif %}
326
+ <div class="author-meta">
327
+ <span class="post-name">
328
+ <a target="_blank" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
329
+ </span><br>
330
+ <span class="post-date">{{post.date | date_to_string }}</span>
331
+ </div>
332
+ </div>
333
+ </div>
334
+ </div>
335
+ </div>
336
+ {%- endif -%}
337
+ {% endfor %}
338
+ </div>
339
+
340
+ {% for post in posts %}
341
+ {%- for item in post.contributors -%}
342
+ {%- assign pageAuthorName = pageAuthorName | downcase -%}
343
+ {%- assign contributorAuthor = item | downcase -%}
344
+ {%- if pageAuthorName contains contributorAuthor -%}
345
+ {%- if post.contributors.size > 0 -%}
346
+ {%- assign all_Contributors = post.contributors -%}
347
+ {%- assign boolean = true -%}
348
+ {%- endif -%}
349
+ {%- endif -%}
350
+ {% endfor %}
351
+ {% endfor %}
352
+
353
+
354
+ {%- if boolean == true -%}
355
+ <h3 class="mb-4 mt-5 contributors-articles-label">Contributed Articles</h3>
356
+ {%- endif -%}
357
+
358
+
359
+ <div class="row">
360
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
361
+ {% for post in posts %}
362
+ {%- include /authors/authors.html -%}
363
+ {%- for item in post.contributors -%}
364
+ {%- assign pageAuthorName = pageAuthorName | downcase -%}
365
+ {%- assign contributorAuthor = item | downcase -%}
366
+ {%- if pageAuthorName contains contributorAuthor -%}
367
+ <div class="col-md-6 mb-4 card-group">
368
+ <div class="card h-100">
369
+ <a href="{{ post.url }}">
370
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
371
+ alt="{{post.title}}">
372
+ </a>
373
+ <div class="card-body">
374
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
375
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
376
+ <p class="blog-desc">{{post.description}}</p>
377
+ </a>
378
+ </div>
379
+ <div class="card-footer bg-white">
380
+ <div class="wrapfooter">
381
+ {% if post.author %}
382
+ <a href="/authors/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
383
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
384
+ </a>
385
+ {% endif %}
386
+ <div class="author-meta">
387
+ <span class="post-name">
388
+ <a target="_blank" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
389
+ </span><br>
390
+ <span class="post-date">{{post.date | date_to_string }}</span>
391
+ </div>
392
+ </div>
393
+ </div>
394
+ </div>
395
+ </div>
396
+ {%- endif -%}
397
+ {% endfor %}
398
+ {% endfor %}
399
+ </div>
400
+ </div>
401
+ </div>
402
+ </div>
403
+ </div>
404
+ </section>
405
+ {% include script.html %}
406
+ {%- include appscms/footer/static-footer.html -%}
407
+ </body>
408
+
409
+ </html>