Proxy image, force resize
This commit is contained in:
parent
de16cc1475
commit
4c15cd94d8
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue