{# h-card - IndieWeb identity microformat #} {# See: https://microformats.org/wiki/h-card #} {# This is the canonical h-card component for the site. Include in sidebar widgets, author cards, etc. #} {% set id = homepageConfig.identity if (homepageConfig and homepageConfig.identity) else {} %} {% set authorName = id.name if (id.name is defined) else site.author.name %} {% set authorAvatar = id.avatar if (id.avatar is defined) else site.author.avatar %} {% set authorTitle = id.title if (id.title is defined) else site.author.title %} {% set authorBio = id.bio if (id.bio is defined) else site.author.bio %} {% set authorUrl = id.url if (id.url is defined and id.url) else site.author.url %} {% set authorPronoun = id.pronoun if (id.pronoun is defined) else site.author.pronoun %} {% set authorLocality = id.locality if (id.locality is defined) else site.author.locality %} {% set authorCountry = id.country if (id.country is defined) else site.author.country %} {% set authorLocation = id.location if (id.location is defined) else site.author.location %} {% set authorOrg = id.org if (id.org is defined) else site.author.org %} {% set authorEmail = id.email if (id.email is defined) else site.author.email %} {% set authorKeyUrl = id.keyUrl if (id.keyUrl is defined) else site.author.keyUrl %} {% set authorCategories = id.categories if (id.categories is defined) else site.author.categories %} {% set socialLinks = id.social if (id.social is defined) else site.social %}