feat: remove default layout assignment in gemtext function and update layout import logic

This commit is contained in:
aspizu
2025-03-10 03:33:33 +05:30
parent 067cda9660
commit e6af7e70d0
2 changed files with 3 additions and 12 deletions
-3
View File
@@ -16,9 +16,6 @@ type SetupHookParams = HookParameters<"astro:config:setup"> & {
}
export default function gemtext(config: GemtextConfig = {}): AstroIntegration {
if (!config.layout) {
config.layout = "/src/layouts/Layout.astro"
}
return {
name: "astro-gemtext",
hooks: {