Skip to content

Commit

Permalink
Fix broken authors in learn css (GoogleChrome#5823)
Browse files Browse the repository at this point in the history
* wip

* Fix broken authors in learn css.
  • Loading branch information
robdodson authored Jul 16, 2021
1 parent 64f4bfc commit 7737b32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/site/_includes/partials/author-stack.njk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="flow flow-space-400">
{%- 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) -%}
<div class="display-flex align-center">
{% Img class="flex-shrink-none rounded-full", src=author.image, alt=authorName, width="80", height="80" %}
<div class="display-flex direction-column gap-left-300">
Expand Down

0 comments on commit 7737b32

Please sign in to comment.