1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-31 07:24:40 +04:00

homepage fixes

This commit is contained in:
codecalm
2020-02-18 19:40:29 +01:00
parent 97c63d186b
commit 5b71b4d96a
15 changed files with 102 additions and 181 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
{% if options == 'people' %}
{% for person in site.data.people limit: 20 %}
{% capture avatar %}
{% include ui/avatar.html person=person class="avatar-xs rounded mr-2 ml-n1" %}
{% include ui/avatar.html person=person class="avatar-sm rounded mr-2 ml-n1" %}
{% endcapture %}
<option value="{{ person.id }}" data-data='{"avatar": "{{ avatar | strip | replace: '"', '\"' }}"}'{% if person.id == data.value %} selected{% endif %}>{{ person.full_name }}</option>
{% endfor %}