From 7737b3244f39a17dcc1d6501a7c1f5f6fff387fc Mon Sep 17 00:00:00 2001 From: Rob Dodson Date: Fri, 16 Jul 2021 15:25:17 -0700 Subject: [PATCH] Fix broken authors in learn css (#5823) * wip * Fix broken authors in learn css. --- src/site/_includes/partials/author-stack.njk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/site/_includes/partials/author-stack.njk b/src/site/_includes/partials/author-stack.njk index 157c1f683fe..f2cfa0686ea 100644 --- a/src/site/_includes/partials/author-stack.njk +++ b/src/site/_includes/partials/author-stack.njk @@ -1,8 +1,8 @@
{%- for item in authors -%} - {%- set author = authorsData[item] -%} - {%- set authorName = author.name.given + ' ' + author.name.family -%} - {%- set authorDesc = author.descriptions[locale] or author.descriptions.en -%} + {%- set author = collections.authors[item] -%} + {%- set authorName = author.title | i18n(locale) -%} + {%- set authorDesc = author.description | i18n(locale) -%}
{% Img class="flex-shrink-none rounded-full", src=author.image, alt=authorName, width="80", height="80" %}