{% macro greeting_card(name, avatar, bio) %}
{# `avatar` is a URL passed in by the caller (e.g. routes/greeting.py:21 hard-codes "/static/ada.png"). lychee flagged the rendered URL because the referenced static asset doesn't exist in this worktree (`examples/htmy-hybrid/static/ada.png` is absent — out of scope for this fix). To make the macro self-contained and not depend on a missing static file, fall back to an inline SVG data URI when the caller passes an empty / falsy `avatar`. This keeps the macro valid even if the static asset stays untracked. #} {% set placeholder_avatar = "data:image/svg+xml;utf8," %} {{ name }}'s avatar

{{ name }}

{{ bio }}

{% endmacro %}