{% assign person-id = include.person-id | default: 0 %} {% assign person = site.data.people[person-id] %} <div class="card"> <div class="card-body text-center"> <div class="mb-3"> {% include ui/avatar.html size="xl" person=person rounded=true %} </div> <div class="card-title mb-1">{{ person.full_name }}</div> <div class="text-secondary">{{ person.job_title }}</div> </div> <a href="#" class="card-btn">View full profile</a> </div>