Proxy image, force resize

This commit is contained in:
Korbs 2024-12-07 01:09:20 -05:00
parent de16cc1475
commit 4c15cd94d8

View file

@ -11,8 +11,8 @@ const posts = await ghostClient.posts
{ {
posts.map((post) => ( posts.map((post) => (
<a href={"/blog/" + post.slug} class="card-post"> <a href={"/blog/" + post.slug} class="card-post">
<img id="bg" src={post.custom_excerpt.image} /> <img id="bg" src={'https://image.proxy.sudovanilla.org/50,fit/' + post.custom_excerpt} />
<img src={post.custom_excerpt} /> <img src={'https://image.proxy.sudovanilla.org/236,fit/' + post.custom_excerpt} />
<div class="card-post-content"> <div class="card-post-content">
<p> <p>
<strong>{post.title}</strong> <strong>{post.title}</strong>