{# The post a reply answers (v2.19.0). The card is the note's u-in-reply-to h-cite (Post Type Discovery reads it as a reply). Avatars and images are this site's saved copies; until there is one, the initial is shown and the image left out. #} {% macro _who(ctx, url) %}{{ ctx.author_name or ctx.site_name or url.split('/')[2] }}{% endmacro %} {% macro _when(ctx, fmt) %} {%- set when = ctx.published_at -%} {%- if when and when.strftime is defined -%} {%- endif -%} {% endmacro %} {# Full card, on the note's page #} {% macro reply_card(url, ctx) %} {% set fetched = ctx and ctx.fetch_status == 'fetched' %}
{% endmacro %} {# One line and a short quote, in lists of notes #} {% macro reply_line(url, ctx) %} {% set fetched = ctx and ctx.fetch_status == 'fetched' %}