Skip to content

Commit

Permalink
fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanujkanti4441 committed Jan 4, 2025
1 parent feb00fe commit 91834de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/_includes/components/card.macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h3 class="card__title">
</p>
<div class="card__footer">
{% set fallback_image = '/assets/images/people/_placeholder-avatar.svg' %}
<img class="blog-post__author-photo" src="{{ params.image if params.image else fallback_image }}" alt="{{ params.authorName }}" width="40" height="40" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<img class="blog-post__author-photo" src="{{ params.authorImage if params.authorImage else fallback_image }}" alt="{{ params.authorName }}" width="40" height="40" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<div class="blog-post__author__details">
<div class="blog-post__author-name">{{ params.authorName }}</div>
<time class="blog-post__publish-date" datetime="{{ params.date }}">{{ params.date | readableDate }}</time>
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/components/profile.macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set fallback_image = '/assets/images/people/_placeholder-avatar.svg' %}
{%- macro member(params) -%}
<div class="profile profile--member">
<img class="profile__photo profile__photo--large" src="{{ params.image if params.image else fallback_image }}" alt="{{ params.name }}" width="80" height="80" onerror="this.src = '{{fallback_image}}'">
<img class="profile__photo profile__photo--large" src="{{ params.photo if params.photo else fallback_image }}" alt="{{ params.name }}" width="80" height="80" onerror="this.src = '{{fallback_image}}'">
<div class="profile__details">
<div class="profile__name">
{{ params.name }}
Expand Down Expand Up @@ -76,7 +76,7 @@
<!-- has avatar, name, and handle only -->
{%- macro contributor(params) -%}
<div class="profile profile--contributor">
<img class="profile__photo profile__photo--medium" src="{{ params.image if params.image else fallback_image }}" width="56" height="56" alt="{{ params.name }}" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<img class="profile__photo profile__photo--medium" src="{{ params.photo if params.photo else fallback_image }}" width="56" height="56" alt="{{ params.name }}" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<div class="profile__details">
<div class="profile__name">{{ params.name }}</div>
<a href="https://github.com/{{ params.handle}}" class="profile__handle">@{{ params.handle }}</a>
Expand All @@ -88,7 +88,7 @@
{%- macro post_author(params) -%}
<div class="profile profile--author">
<div class="profile--author__details">
<img class="profile__photo profile__photo--small" src="{{ params.image if params.image else fallback_image }}" alt="{{ params.name }}" width="48" height="48" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<img class="profile__photo profile__photo--small" src="{{ params.photo if params.photo else fallback_image }}" alt="{{ params.name }}" width="48" height="48" loading="lazy" onerror="this.src = '{{fallback_image}}'">
<div class="profile__details">
<div class="profile__name">
{{ params.name }}
Expand Down

0 comments on commit 91834de

Please sign in to comment.