1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/pages/_includes/ui/avatar-list.html
2019-10-03 10:10:48 +02:00

12 lines
534 B
HTML

{% assign limit = include.limit | default: 5 %}
{% assign offset = include.offset | default: 0 %}
{% assign size = include['size'] %}
<div class="avatar-list{% if include.stacked %} avatar-list-stacked{% endif %}{% if include.class %} {{ include.class }}{% endif %}">
{% for person in site.data.people limit: limit offset: offset %}
{% include ui/avatar.html person=person size=size %}
{% endfor %}
{% if include.text %}
{% include ui/avatar.html placeholder=include.text size=size %}
{% endif %}
</div>