some more bug fixes

This commit is contained in:
Adam Matthiesen 2024-01-17 21:38:41 -08:00
parent d2d0c571e8
commit 397bacc02d
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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>