diff --git a/src/pages/blog/authors/[slug]/index.astro b/src/pages/blog/authors/[slug]/index.astro index eef02e9..ef85058 100644 --- a/src/pages/blog/authors/[slug]/index.astro +++ b/src/pages/blog/authors/[slug]/index.astro @@ -22,10 +22,10 @@ const ogpPath = author.data.github ? `https://github.com/${author.data.github}.png` : author.data.image.type === 'svg' - ? `/authors/${author.id}/ogp.png` - : author.data.image.type === 'external-url' - ? author.data.image.url - : unreachable(author.data.image) + ? `/authors/${author.id}/ogp.png` + : author.data.image.type === 'external-url' + ? author.data.image.url + : unreachable(author.data.image) const isShowAboutSection = author.data.description || author.data.github --- diff --git a/src/pages/blog/tags/[slug]/index.astro b/src/pages/blog/tags/[slug]/index.astro index 6e004b3..9420589 100644 --- a/src/pages/blog/tags/[slug]/index.astro +++ b/src/pages/blog/tags/[slug]/index.astro @@ -28,8 +28,8 @@ const isShowAbout = tag.description || tag.site || tag.document || tag.github image={tag.image.type === 'svg' ? `/blog/tags/${id}/ogp.png` : tag.image.type === 'external-url' - ? tag.image.url - : unreachable(tag.image)} + ? tag.image.url + : unreachable(tag.image)} summarySize="summary" >