appscms-tools-theme 3.3.4 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,369 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include custom-head.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: 100px;
28
+ border-bottom: 2px solid;
29
+ font-weight: 900;
30
+ font-size: 30px;
31
+ }
32
+
33
+ .contributors-articles-label {
34
+ width: 250px;
35
+ border-bottom: 2px solid;
36
+ font-weight: 900;
37
+ font-size: 30px;
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: 22px;
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
+ </style>
145
+
146
+ <body>
147
+ {%- include header/blogHeader.html -%}
148
+
149
+ <section class="author-page">
150
+ <div class="container-fluid">
151
+ <div class="row">
152
+ <div class="col-md-4 left-sidebar">
153
+ <div class="author-bio-data">
154
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
155
+ {% for post in posts %}
156
+ {%- include /authors/authors.html -%}
157
+ {% if authorName contains page.authorName %}
158
+ {%- assign a = authorName -%}
159
+ {%- assign authorPick = image -%}
160
+ {%- assign authorAbout = bio -%}
161
+ {%- endif -%}
162
+ {% endfor %}
163
+
164
+ {%- if a -%}
165
+ <div class="author-detials">
166
+ <img class="author-image" loading="lazy" src="{{authorPick}}" alt="{{ a }}">
167
+ <h1 class="author-name mt-4">{{a}}</h1>
168
+ </div>
169
+ {%- endif -%}
170
+
171
+
172
+ {%- if site.name -%}
173
+ <div class="websiteName mt-5 ml-5">
174
+ <h3 class="website-label">Website</h3>
175
+ <p class="website-name"><a href="{{site.name}}.com">{{site.name}}.com</a></p>
176
+ </div>
177
+ {%- endif -%}
178
+
179
+ {%- if site.data.blog.share -%}
180
+ <div class="social-icons mt-5 ml-5">
181
+ <ul class="list-of-icons list-unstyled">
182
+ <h3 class="follow-label">Follow Me</h3>
183
+ {% capture title %}{{ page.title }}{% endcapture %}
184
+ {% assign url = page.url | relative_url | prepend: site.url %}
185
+ {% for share in site.data.blog.share.platforms %}
186
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
187
+ <li> <a href=" {{ link }}" data-toggle="tooltip"
188
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
189
+ data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
190
+ <i class="fa-fw {{ share.icon }}"></i>
191
+ <span>{{share.type}}</span>
192
+ </a>
193
+ </li>
194
+ {% endfor %}
195
+ </span>
196
+ </ul>
197
+ </div>
198
+ {%- endif -%}
199
+
200
+ {% assign already_run = false %}
201
+ {% assign already_run2 = false %}
202
+ {% assign folder_path = '' %}
203
+ {% for file in site.pages %}
204
+ {% if file.path contains folder_path %}
205
+ {% assign pageData = file | parse_yaml %}
206
+ {% assign lang = pageData.lang %}
207
+ {% assign foldername = pageData.folderName %}
208
+ {% assign filename = pageData.fileName %}
209
+ {% assign permalink = pageData.permalink %}
210
+ {% assign json_data= site.data[foldername][lang][filename] | json %}
211
+ {%- assign seocontentAuthor = json_data.author | downcase -%}
212
+ {%- assign pageAuthorName = page.label | downcase -%}
213
+
214
+
215
+ <div class="landing-pages-detials mt-5 ml-5">
216
+
217
+ {%- if permalink contains '/' -%}
218
+ {%- assign my_url_with_slash = permalink -%}
219
+ {%- else -%}
220
+ {% assign my_url_with_slash = "/" | append: permalink %}
221
+ {%- endif -%}
222
+
223
+
224
+ {%- if seocontentAuthor contains pageAuthorName and already_run == false -%}
225
+ <h3 class="landing-page-heading mb-4">Features</h3>
226
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' ' |
227
+ capitalize }}</a>
228
+ {% assign already_run = true %}
229
+ {%- elsif seocontentAuthor contains pageAuthorName -%}
230
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' ' |
231
+ capitalize }}</a>
232
+ {%- endif -%}
233
+ </div>
234
+
235
+ {%- for item in json_data.contributors -%}
236
+ {%- assign contributeAuthor = item.name | downcase -%}
237
+ <div class="landing-pages-detials mt-5 ml-5">
238
+ {%- if contributeAuthor contains pageAuthorName and already_run2 == false -%}
239
+ <h3 class="landing-page-heading mb-4">Contribute Features</h3>
240
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' ' |
241
+ capitalize }}</a>
242
+ {% assign already_run2 = true %}
243
+ {%- elsif contributeAuthor contains pageAuthorName -%}
244
+ <a class="feature-name" href="{{my_url_with_slash}}">{{permalink | replace: '-', ' '| replace: '/', ' ' |
245
+ capitalize }}</a>
246
+ {%- endif -%}
247
+ </div>
248
+ {%- endfor -%}
249
+ {% endif %}
250
+ {% endfor %}
251
+ </div>
252
+ </div>
253
+ <div class="col-md-8 right-sidebar">
254
+ <div class="author-content">
255
+ {%- if authorAbout -%}
256
+ <div class="desc">
257
+ <h2 class="about_heading">About</h2>
258
+ <p class="bio-desc">{{authorAbout}}</p>
259
+ </div>
260
+ {%- endif -%}
261
+
262
+ <h2 class="mb-4 articles-label">Articles</h2>
263
+ <div class="row">
264
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
265
+ {% for post in posts %}
266
+ {%- include /authors/authors.html -%}
267
+ {%- if post.author contains page.label -%}
268
+ <div class="col-md-6 mb-4 card-group">
269
+ <div class="card h-100">
270
+ <a href="{{ post.url }}">
271
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
272
+ alt="{{post.title}}">
273
+ </a>
274
+ <div class="card-body">
275
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
276
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
277
+ <p class="blog-desc">{{post.description}}</p>
278
+ </a>
279
+ </div>
280
+ <div class="card-footer bg-white">
281
+ <div class="wrapfooter">
282
+ {% if post.author %}
283
+ <span class="meta-footer-thumb">
284
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
285
+ </span>
286
+ {% endif %}
287
+ <span class="author-meta">
288
+ <span class="post-name">
289
+ <a target="_blank" href="/blog">{{authorName | capitalize }}</a>
290
+ </span><br>
291
+ <span class="post-date">{{post.date | date_to_string }}</span>
292
+ </span>
293
+ </div>
294
+ </div>
295
+ </div>
296
+ </div>
297
+ {%- endif -%}
298
+ {% endfor %}
299
+ </div>
300
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
301
+ {% for post in posts %}
302
+ {%- include /authors/authors.html -%}
303
+ {% for contributor in post.contributors %}
304
+ {%- assign contributorAuthor = contributor.name | downcase -%}
305
+ {%- assign pageAuthor = page.authorName | downcase -%}
306
+ {%- if pageAuthor contains contributorAuthor -%}
307
+ {%- assign boolean = true -%}
308
+ {%- endif -%}
309
+ {% endfor %}
310
+ {% endfor %}
311
+
312
+
313
+ {%- if boolean == true -%}
314
+ <h2 class="mb-4 mt-5 contributors-articles-label">Contribute Articles</h2>
315
+ {%- endif -%}
316
+
317
+
318
+
319
+ <div class="row">
320
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
321
+ {% for post in posts %}
322
+ {%- include /authors/authors.html -%}
323
+
324
+ {% for contributor in post.contributors %}
325
+ {%- assign contributorAuthor = contributor.name | downcase -%}
326
+ {%- assign pageAuthor = page.authorName | downcase -%}
327
+ {%- if pageAuthor contains contributorAuthor -%}
328
+ <div class="col-md-6 mb-4 card-group">
329
+ <div class="card h-100">
330
+ <a href="{{ post.url }}">
331
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
332
+ alt="{{post.title}}">
333
+ </a>
334
+ <div class="card-body">
335
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
336
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
337
+ <p class="blog-desc">{{post.description}}</p>
338
+ </a>
339
+ </div>
340
+ <div class="card-footer bg-white">
341
+ <div class="wrapfooter">
342
+ {% if post.author %}
343
+ <span class="meta-footer-thumb">
344
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
345
+ </span>
346
+ {% endif %}
347
+ <span class="author-meta">
348
+ <span class="post-name">
349
+ <a target="_blank" href="/blog">{{authorName | capitalize }}</a>
350
+ </span><br>
351
+ <span class="post-date">{{post.date | date_to_string }}</span>
352
+ </span>
353
+ </div>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ {%- endif -%}
358
+ {% endfor %}
359
+ {% endfor %}
360
+ </div>
361
+ </div>
362
+ </div>
363
+ </div>
364
+ </div>
365
+ </section>
366
+ {% include script.html %}
367
+ </body>
368
+
369
+ </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
+