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 {
|
||||
return {
|
||||
name: 'astro-ghostcms',
|
||||
name: '@matthiesenxyz/astro-ghostcms',
|
||||
hooks: {
|
||||
'astro:config:setup': async ({
|
||||
injectRoute,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue