Skip to content

Commit

Permalink
fix: siteConfig.banner.position not working
Browse files Browse the repository at this point in the history
  • Loading branch information
saicaca committed Jul 27, 2024
1 parent 2eff25d commit b0337a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ const siteLang = siteConfig.lang.replace('_', '-')
<div id="banner-wrapper" class="absolute w-full">
<ImageWrapper id="boxtest" alt="Banner image of the blog" class:list={["object-center object-cover h-full", {"hidden": !siteConfig.banner.enable}]}
src={siteConfig.banner.src}
<ImageWrapper id="boxtest" alt="Banner image of the blog" class:list={["object-cover h-full", {"hidden": !siteConfig.banner.enable}]}
src={siteConfig.banner.src} position={siteConfig.banner.position}
>
</ImageWrapper>
</div>
Expand Down

0 comments on commit b0337a9

Please sign in to comment.