This commit is contained in:
parent
7ba0b6f0d6
commit
35dfab5240
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/astro-ghostcms-theme-default",
|
"name": "@matthiesenxyz/astro-ghostcms-theme-default",
|
||||||
"description": "Default Theme for astro-ghostcms",
|
"description": "Default Theme for astro-ghostcms",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"homepage": "https://astro-ghostcms.xyz/",
|
"homepage": "https://astro-ghostcms.xyz/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -18,7 +18,7 @@ const { post, settings, index, isHome = false } = Astro.props as Props;
|
||||||
isHome && post.feature_image && index == 0 ? "post-card-large" : ""
|
isHome && post.feature_image && index == 0 ? "post-card-large" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<a class="post-card-image-link" href={`/${post.slug}`}>
|
<a class="post-card-image-link" href={`/${post.slug}`} data-astro-reload>
|
||||||
<img
|
<img
|
||||||
class="post-card-image"
|
class="post-card-image"
|
||||||
srcset={`
|
srcset={`
|
||||||
|
@ -35,7 +35,7 @@ const { post, settings, index, isHome = false } = Astro.props as Props;
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<div class="post-card-content">
|
<div class="post-card-content">
|
||||||
<a class="post-card-content-link" href={`/${post.slug}`}>
|
<a class="post-card-content-link" href={`/${post.slug}`} data-astro-reload>
|
||||||
<header class="post-card-header">
|
<header class="post-card-header">
|
||||||
{post.primary_tag && (
|
{post.primary_tag && (
|
||||||
<div class="post-card-primary-tag">{post.primary_tag.name}</div>
|
<div class="post-card-primary-tag">{post.primary_tag.name}</div>
|
||||||
|
|
Loading…
Reference in New Issue