Skip to content

Commit 2673649

Browse files
committed
chore: check more specified path for avatars in og
1 parent eb09718 commit 2673649

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

app/components/OgImage/BlogPost.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const formattedAuthorNames = computed(() => {
125125
>
126126
<img
127127
v-if="author.avatar"
128-
src="https://npmx.dev/pwa-512x512.png"
128+
:src="`/blog/avatar/${author.avatar.replace('/blog/avatar/', '')}`"
129129
:alt="author.name"
130130
class="w-full h-full object-cover"
131131
/>

app/components/global/BlogPostFederatedArticles.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ const { resolvedAuthors } = useBlueskyAuthorProfiles(authors.value)
2222
// Merge the input data with the fetched avatars
2323
const federatedArticles = computed(() => {
2424
return props.articles.map((article, index) => {
25-
console.log('blog post federated articles 1')
2625
const profile = resolvedAuthors.value[index]
27-
console.log('blog post federated articles 2', profile)
2826
2927
return {
3028
url: article.url,

0 commit comments

Comments
 (0)