{#
================================================================================
Author Bio Component
================================================================================
Full author bio block: avatar, name, title, bio text, links.
Used in blog post footer and about page.
Usage:
{{ author_bio(author, avatar, title, bio, links) }}
================================================================================
#}
{% from 'chirpui/button.html' import btn %}
{% from 'chirpui/card.html' import card %}
{% from 'chirpui/layout.html' import cluster %}
{% def author_bio(author, avatar='', title='', bio='', links=none) %}
{% let link_list = links | default([]) %}
{% call card(title='About ' ~ author, subtitle=title if title else none, cls='chirp-theme-author-bio') %}
{% if avatar %}
{% slot media %}
{% end %}
{% end %}
{% if bio %}