{# 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 or site.author.name %} {% set authorAvatar = id.avatar or site.author.avatar %} {% set authorTitle = id.title or site.author.title %} {% set authorBio = id.bio or site.author.bio %} {% set authorUrl = id.url or site.author.url %} {% set authorPronoun = id.pronoun or site.author.pronoun %} {% set authorLocality = id.locality or site.author.locality %} {% set authorCountry = id.country or site.author.country %} {% set authorLocation = site.author.location %} {% set authorOrg = id.org or site.author.org %} {% set authorEmail = id.email or site.author.email %} {% set authorKeyUrl = id.keyUrl or site.author.keyUrl %} {% set authorCategories = id.categories if (id.categories and id.categories.length) else site.author.categories %} {% set socialLinks = id.social if (id.social and id.social.length) else site.social %}