Skip to content

Commit

Permalink
chore: remove base const
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkn3ssr3igns committed Oct 13, 2024
1 parent cc5ad76 commit f982f67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/blog/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ const {
tagged
} = post.data
const { Content } = await post.render()
const base = import.meta.env.BASE_URL
---

<Base {title} {description} {image}>
{image && (
<header slot="before-breadcrumbs">
<Picture
src={base + image} height={510} width={1020} alt=""
src={image} height={510} width={1020} alt=""
loading="eager" formats={['jpg']}
/>
</header>
Expand Down

0 comments on commit f982f67

Please sign in to comment.