Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ciffelia committed Dec 5, 2023
1 parent f31f3d9 commit 4940cc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/pages/blog/authors/[slug]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
4 changes: 2 additions & 2 deletions src/pages/blog/tags/[slug]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<BlogTitle title={tag.name} background="white">
Expand Down

0 comments on commit 4940cc0

Please sign in to comment.