{% comment %} Author Card — renders at the bottom of any post. USAGE: Add to the bottom of any post file: {% include author-card.html %} In the post's front matter, set one of: author: gingerpersolus → full card (photo + bio) from _data/authors.yml author: "Sam Reich" → name-only card (person not in data file) Leave "author:" out entirely to show no card at all. {% endcomment %} {% if page.author %} {% assign author_data = site.data.authors[page.author] %}
{% if author_data %} {% if author_data.photo %}
{{ author_data.name }}
{% endif %}

Written by

{{ author_data.name }}

{% if author_data.bio %}

{{ author_data.bio }}

{% endif %} {% if author_data.links %} {% endif %}
{% else %}

Written by

{{ page.author }}

Guest contributor to CPDH.guide.

{% endif %}
{% endif %}