some more bug fixes
This commit is contained in:
parent
d2d0c571e8
commit
397bacc02d
2
index.ts
2
index.ts
|
@ -2,7 +2,7 @@ import type { AstroIntegration } from "astro"
|
||||||
|
|
||||||
export default function GhostCMS(): AstroIntegration {
|
export default function GhostCMS(): AstroIntegration {
|
||||||
return {
|
return {
|
||||||
name: 'astro-ghostcms',
|
name: '@matthiesenxyz/astro-ghostcms',
|
||||||
hooks: {
|
hooks: {
|
||||||
'astro:config:setup': async ({
|
'astro:config:setup': async ({
|
||||||
injectRoute,
|
injectRoute,
|
||||||
|
|
|
@ -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