appscms-tools-theme 3.3.7 → 3.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/author.html +20 -16
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b86beb1238793536ec7e4a2b6bcb1ff1d7ed871fef27a13f83c5991835122179
|
4
|
+
data.tar.gz: 0aea04f06086f64e7b6b1df50ce8adbf51bd5856140e502e2ac84f621b7ed77e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abb31e46893661b237a22d4255318bf33e8cc0499fdecbc455edb48f570e3edc7e6c4b15701ac7ac3b3419448fe542df2f640a636cccaa4846ffeecee3446f6f
|
7
|
+
data.tar.gz: 64f37d4d4d3cdb24ae8fdb81d99e94e450160f65e61e139ed6bd810cd2887a92aadaafe9bd15afcbf94d6132c22a7f2a636d0fe3391514d5fb4a560129b63508
|
data/_layouts/author.html
CHANGED
@@ -320,16 +320,16 @@
|
|
320
320
|
<div class="card-footer bg-white">
|
321
321
|
<div class="wrapfooter">
|
322
322
|
{% if post.author %}
|
323
|
-
<
|
323
|
+
<a href="/author/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
|
324
324
|
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
325
|
-
</
|
325
|
+
</a>
|
326
326
|
{% endif %}
|
327
|
-
<
|
327
|
+
<div class="author-meta">
|
328
328
|
<span class="post-name">
|
329
|
-
<a target="_blank" href="/
|
329
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
|
330
330
|
</span><br>
|
331
331
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
332
|
-
</
|
332
|
+
</div>
|
333
333
|
</div>
|
334
334
|
</div>
|
335
335
|
</div>
|
@@ -339,28 +339,32 @@
|
|
339
339
|
</div>
|
340
340
|
|
341
341
|
{% for post in posts %}
|
342
|
-
{%-
|
343
|
-
{%- assign
|
344
|
-
{%-
|
342
|
+
{%- for item in post.contributors -%}
|
343
|
+
{%- assign pageAuthorName = pageAuthorName | downcase -%}
|
344
|
+
{%- assign contributorAuthor = item.name | downcase -%}
|
345
|
+
{%- if pageAuthorName contains contributorAuthor -%}
|
345
346
|
{%- if post.contributors.size > 0 -%}
|
346
347
|
{%- assign all_Contributors = post.contributors -%}
|
347
348
|
{%- assign boolean = true -%}
|
348
349
|
{%- endif -%}
|
349
350
|
{%- endif -%}
|
350
351
|
{% endfor %}
|
352
|
+
{% endfor %}
|
353
|
+
|
351
354
|
|
352
355
|
{%- if boolean == true -%}
|
353
356
|
<h3 class="mb-4 mt-5 contributors-articles-label">Contributed Articles</h3>
|
354
357
|
{%- endif -%}
|
355
358
|
|
359
|
+
|
356
360
|
<div class="row">
|
357
361
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
358
362
|
{% for post in posts %}
|
359
363
|
{%- include /authors/authors.html -%}
|
360
|
-
{%- for item in
|
361
|
-
{%- assign
|
364
|
+
{%- for item in post.contributors -%}
|
365
|
+
{%- assign pageAuthorName = pageAuthorName | downcase -%}
|
362
366
|
{%- assign contributorAuthor = item.name | downcase -%}
|
363
|
-
{%- if
|
367
|
+
{%- if pageAuthorName contains contributorAuthor -%}
|
364
368
|
<div class="col-md-6 mb-4 card-group">
|
365
369
|
<div class="card h-100">
|
366
370
|
<a href="{{ post.url }}">
|
@@ -376,16 +380,16 @@
|
|
376
380
|
<div class="card-footer bg-white">
|
377
381
|
<div class="wrapfooter">
|
378
382
|
{% if post.author %}
|
379
|
-
<
|
383
|
+
<a href="/author/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
|
380
384
|
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
381
|
-
</
|
385
|
+
</a>
|
382
386
|
{% endif %}
|
383
|
-
<
|
387
|
+
<div class="author-meta">
|
384
388
|
<span class="post-name">
|
385
|
-
<a target="_blank" href="/
|
389
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
|
386
390
|
</span><br>
|
387
391
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
388
|
-
</
|
392
|
+
</div>
|
389
393
|
</div>
|
390
394
|
</div>
|
391
395
|
</div>
|