user-info.html 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. {% assign person-id = include.person-id | default: 25 | minus: 1 %}
  2. {% assign person = site.data.people[person-id] %}
  3. <div class="card">
  4. <div class="card-body">
  5. <div class="card-title">{{ include.title | default: 'Basic info' }}</div>
  6. <div class="mb-2">
  7. {% include ui/icon.html icon="book" class="me-2 text-secondary" %}
  8. Went to: <strong>{{ person.university }}</strong>
  9. </div>
  10. <div class="mb-2">
  11. {% include ui/icon.html icon="briefcase" class="me-2 text-secondary" %}
  12. Worked at: <strong>{{ person.company }}</strong>
  13. </div>
  14. <div class="mb-2">
  15. {% include ui/icon.html icon="home" class="me-2 text-secondary" %}
  16. Lives in: <strong>{{ person.city }}, {{ person.country }}</strong>
  17. </div>
  18. <div class="mb-2">
  19. {% include ui/icon.html icon="map-pin" class="me-2 text-secondary" %}
  20. From: <strong>{% include ui/flag.html flag=person.country_code %} {{ person.country }}</strong>
  21. </div>
  22. <div class="mb-2">
  23. {% include ui/icon.html icon="calendar" class="me-2 text-secondary" %}
  24. Birth date: <strong>{{ person.birth_date }}</strong>
  25. </div>
  26. <div>
  27. {% include ui/icon.html icon="clock" class="me-2 text-secondary" %}
  28. Time zone: <strong>{{ person.time_zone }}</strong>
  29. </div>
  30. </div>
  31. </div>