appscms-tools-theme 3.3.5 → 3.3.7

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