{{ item.title }}
{% endif %} {% if item.excerpt %}{{ item.excerpt }}
{% endif %} {% for f in item.files %}{{ file(f) }}{% endfor %}{#- Pieces the pages on the Abilian Design System share. The mockups in `mockups/`
draw them first; `notes/ux/design-principles.md` says why they look so. -#}
{#- A person: their photo, or else their initials on a tint of their colour; their
name on hover and for screen readers. `has_photo` is asked with the person, the
photo itself only by the browser. -#}
{% macro avatar(user, size_class="ads-avatar--sm") -%}
{%- if user.has_photo %}{% else %}{{ initials(user.name) }}{% endif -%}
{%- endmacro %}
{#- A community: its image, or else its initial on its colour. Squares for places,
circles for people. Without `image` for who is not a member, whom the image's
address, inside the community, refuses. -#}
{% macro tile(community, size_class="", image=true) -%}
{%- endmacro %}
{#- A moment: how long ago, the exact date on hover. -#}
{% macro time(moment) -%}
{%- endmacro %}
{#- A file in a feed entry or a post: its name, its size, a link. -#}
{% macro file(f) -%}
{{ item.excerpt }}
{% endif %} {% for f in item.files %}{{ file(f) }}{% endfor %}