This commit is contained in:
Adam Matthiesen 2024-01-23 18:07:37 -08:00
parent 7ba0b6f0d6
commit 35dfab5240
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@matthiesenxyz/astro-ghostcms-theme-default",
"description": "Default Theme for astro-ghostcms",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://astro-ghostcms.xyz/",
"type": "module",
"license": "MIT",

View File

@ -18,7 +18,7 @@ const { post, settings, index, isHome = false } = Astro.props as Props;
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
class="post-card-image"
srcset={`
@ -35,7 +35,7 @@ const { post, settings, index, isHome = false } = Astro.props as Props;
/>
</a>
<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">
{post.primary_tag && (
<div class="post-card-primary-tag">{post.primary_tag.name}</div>