diff --git a/_data/site.js b/_data/site.js
index 56b3522..be75e3e 100644
--- a/_data/site.js
+++ b/_data/site.js
@@ -54,6 +54,13 @@ export default {
title: process.env.AUTHOR_TITLE || "",
bio: process.env.AUTHOR_BIO || "Welcome to my IndieWeb blog.",
location: process.env.AUTHOR_LOCATION || "",
+ locality: process.env.AUTHOR_LOCALITY || "",
+ region: process.env.AUTHOR_REGION || "",
+ country: process.env.AUTHOR_COUNTRY || "",
+ org: process.env.AUTHOR_ORG || "",
+ pronoun: process.env.AUTHOR_PRONOUN || "",
+ categories: process.env.AUTHOR_CATEGORIES?.split(",").map(s => s.trim()) || [],
+ keyUrl: process.env.AUTHOR_KEY_URL || "",
email: process.env.AUTHOR_EMAIL || "",
},
diff --git a/_includes/components/h-card.njk b/_includes/components/h-card.njk
index fc97162..73fccaf 100644
--- a/_includes/components/h-card.njk
+++ b/_includes/components/h-card.njk
@@ -2,10 +2,10 @@
{# See: https://microformats.org/wiki/h-card #}
- {# Avatar #}
-
+ {# Avatar - visible for h-card validation #}
+
- {# Name and identity #}
+ {# Name #}
{{ site.author.name }}
- {# Title/role #}
+ {# Pronouns #}
+ {% if site.author.pronoun %}
+
({{ site.author.pronoun }})
+ {% endif %}
+
+ {# Job title #}
{% if site.author.title %}
{{ site.author.title }}
{% endif %}
- {# Location #}
- {% if site.author.location %}
-
- {{ site.author.location }}
+ {# Organization #}
+ {% if site.author.org %}
+
+ @ {{ site.author.org }}
{% endif %}
+ {# Bio / Note #}
+ {% if site.author.bio %}
+
+ {{ site.author.bio }}
+
+ {% endif %}
+
+ {# Location - structured address #}
+
+ {% if site.author.locality %}
+ {{ site.author.locality }} {% if site.author.region or site.author.country %}, {% endif %}
+ {% endif %}
+ {% if site.author.region %}
+ {{ site.author.region }} {% if site.author.country %}, {% endif %}
+ {% endif %}
+ {% if site.author.country %}
+ {{ site.author.country }}
+ {% endif %}
+ {# Fallback to legacy location field if structured fields not set #}
+ {% if not site.author.locality and not site.author.region and not site.author.country and site.author.location %}
+ {{ site.author.location }}
+ {% endif %}
+
+
+ {# Email #}
+ {% if site.author.email %}
+
+ {{ site.author.email }}
+
+ {% endif %}
+
+ {# PGP Key #}
+ {% if site.author.keyUrl %}
+
+ 🔐 PGP Key
+
+ {% endif %}
+
+ {# Categories / Skills #}
+ {% if site.author.categories and site.author.categories.length %}
+
+ {% for category in site.author.categories %}
+ {{ category }}
+ {% endfor %}
+
+ {% endif %}
+
{# Social links with rel="me" #}
-
+
{% for link in site.social %}
{% if link.icon == "github" %}