From 4bd5d43d293897468f0039dac790b895492b7540 Mon Sep 17 00:00:00 2001 From: Olaf Lipinski <5785856+olipinski@users.noreply.github.com> Date: Wed, 18 Feb 2026 08:08:33 +0100 Subject: [PATCH] Check for author profiles Make sure that author profile has data before generating a profile stub. --- modules/blox/layouts/_partials/page_author.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blox/layouts/_partials/page_author.html b/modules/blox/layouts/_partials/page_author.html index fd7913132..b1df3a1ff 100644 --- a/modules/blox/layouts/_partials/page_author.html +++ b/modules/blox/layouts/_partials/page_author.html @@ -16,7 +16,7 @@ {{ if $authors }} {{ range $idx, $slug := $authors }} {{ $profile := partial "functions/get_author_profile" $slug }} - {{ if $profile }} + {{ if $profile.has_data }} {{ partial "page_author_card" (dict "profile" $profile "page" .) }} {{ end }} {{ end }}