don't addRenderer
This commit is contained in:
@@ -31,12 +31,6 @@ export default function gemtext(config: GemtextConfig = {}): AstroIntegration {
|
||||
hooks: {
|
||||
"astro:config:setup": async (_params) => {
|
||||
const params = _params as SetupHookParams
|
||||
params.addRenderer({
|
||||
name: "astro-gemtext",
|
||||
serverEntrypoint: fileURLToPath(
|
||||
new URL("./renderer.js", import.meta.url),
|
||||
),
|
||||
})
|
||||
params.addPageExtension('.gmi')
|
||||
params.addContentEntryType({
|
||||
extensions: ['.gmi'],
|
||||
|
||||
Reference in New Issue
Block a user