add authors snippet

This commit is contained in:
⧉ infominer 2020-11-25 14:12:20 -05:00
parent fd735037ea
commit 45d238e58d
4 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,19 @@
<p class="page__taxonomy">
<strong><i class="fas fa-fw fa-users" aria-hidden="true"></i> Authors:</strong>
{% assign authorCount = page.authors | size %}
{% if authorCount == 0 %}
No author
{% elsif authorCount == 1 %}
{{ page.authors | first }}
{% else %}
{% for author in page.authors %}
{% if forloop.first %}
<a href="{{ author.url }}" rel="author">{{ author }}</a>
{% elsif forloop.last %}
and <a href="{{ author.url }}" rel="author">{{ author }}</a>
{% else %}
, <a href="{{ author.url }}" rel="author">{{ author }}</a>
{% endif %}
{% endfor %}
{% endif %}
</p>

View File

@ -1,3 +1,7 @@
{% if page.authors %}
{% include authors-list.html %}
{% endif %}
{% if site.tag_archive.type and page.tags[0] %}
{% include tag-list.html %}
{% endif %}

View File

@ -7,6 +7,9 @@ redirect_from:
- values
- values/
toc: false
authors:
- "<a href='https://twitter.com/by_caballero'>Juan Caballero</a>"
- "<a href='https://twitter.com/infominer33'>Infominer</a>"
---
Decentralized-id.com is a collaborative, participatory learning community oriented that strives to support the elaboration and adoption of a self-sovereign identity layer for the internet. This is a labor of love and a work in progress. Certain values undergird those who share in this work. Our Aim:

View File

@ -14,7 +14,9 @@ header:
og_image: /images/dragon_factor_og.webp
last_modified_at: 2020-11-17
toc: true
# •
authors:
- "<a href='https://twitter.com/hodldrgn'>Holly Jolly Jeffrey</a>"
- "<a href='https://www.linkedin.com/in/j0j0r0/'>Joe Roets</a>"
---
Guest post by [Holly Jolly Jeffrey](https://twitter.com/hodldrgn) ([Linkedin](https://www.linkedin.com/in/jeffrey-neijenhuis/)) and Dragonchain Founder\CEO [Joe Roets](https://www.linkedin.com/in/j0j0r0/).