Skip to content

Commit ebfc2dd

Browse files
author
Stuart Reilly
committed
Don't forget author images
1 parent a329a49 commit ebfc2dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/author-list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ function displayAuthor(element: HTMLElement, author: Author) {
7979
image.role = "presentation";
8080
image.alt = author.name ?? "";
8181
if (author.picture) {
82-
image.src = `/${author.authorId}/${author.picture}`;
82+
image.src = BASE_URL + `/${author.authorId}/${author.picture}`;
8383
} else {
84-
image.src = `/assets/avatar.png`;
84+
image.src = BASE_URL + `/assets/avatar.png`;
8585
}
8686

8787
const name = authorIcon.appendChild(document.createElement("div"));

0 commit comments

Comments
 (0)