diff --git a/packages/starlight-ghostcms/index.ts b/packages/starlight-ghostcms/index.ts index d0db6c5d..10d7d42a 100644 --- a/packages/starlight-ghostcms/index.ts +++ b/packages/starlight-ghostcms/index.ts @@ -55,6 +55,7 @@ function overrideStarlightComponent( if (components?.[component]) { logger.warn(`It looks like you already have a \`${component}\` component override in your Starlight configuration.`) logger.warn(`To use \`starlight-ghostcms\`, remove the override for the \`${component}\` component.\n`) + logger.warn("This Warning can be ignored if you know what your doing ;)") return {} } diff --git a/packages/starlight-ghostcms/src/routes/[slug].astro b/packages/starlight-ghostcms/src/routes/[slug].astro index 0bec7f81..6ae03dd2 100644 --- a/packages/starlight-ghostcms/src/routes/[slug].astro +++ b/packages/starlight-ghostcms/src/routes/[slug].astro @@ -1,10 +1,7 @@ --- -//import type { InferGetStaticPropsType } from 'astro' import config from 'virtual:starlight-ghost-config' import { Image } from "astro:assets"; import Page from '../components/Page.astro' -import Posts from '../components/Posts.astro' -//import PrevNextLinks from '../components/PrevNextLinks.astro' import { getPageProps } from '../utils/page' import { getAllPosts } from '../utils/api' import Metadata from '../components/Metadata.astro' @@ -35,8 +32,8 @@ const pageProps = getPageProps(post.title) src={post.feature_image} alt={post.feature_image_alt?post.feature_image_alt:""} title={post.feature_image_alt?post.feature_image_alt:""} - width="1000px" - height="800px" + width={1000} + height={800} />
@@ -48,7 +45,6 @@ const pageProps = getPageProps(post.title)