enable .gmi content type
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { defineConfig, envField, passthroughImageService } from "astro/config";
|
||||
import db from "@astrojs/db";
|
||||
import gemtext from "astro-gemtext";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import node from "@astrojs/node";
|
||||
|
||||
@@ -34,5 +35,5 @@ export default defineConfig({
|
||||
service: passthroughImageService(),
|
||||
},
|
||||
site: "https://joeac.net",
|
||||
integrations: [db(), mdx(), sitemap()],
|
||||
integrations: [db(), gemtext(), mdx(), sitemap()],
|
||||
});
|
||||
|
||||
Generated
+13
-1
@@ -12,6 +12,7 @@
|
||||
"@astrojs/sitemap": "^3.7.1",
|
||||
"@types/nodemailer": "^7.0.4",
|
||||
"astro": "^6.0.8",
|
||||
"astro-gemtext": "git+https://git.joeac.net/joeac/astro-gemtext.git",
|
||||
"gemtext": "^0.2.2",
|
||||
"markdown-it": "^14.1.0",
|
||||
"nodemailer": "^7.0.11",
|
||||
@@ -3673,6 +3674,18 @@
|
||||
"sharp": "^0.34.0"
|
||||
}
|
||||
},
|
||||
"node_modules/astro-gemtext": {
|
||||
"version": "0.3.3",
|
||||
"resolved": "git+https://git.joeac.net/joeac/astro-gemtext.git#1248542cc6b509a1b070ed5812ca5c327823a018",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"gemtext": "^0.2.2",
|
||||
"yaml": "^2.8.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": ">= 3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/astro/node_modules/@astrojs/compiler": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-3.0.1.tgz",
|
||||
@@ -8561,7 +8574,6 @@
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
||||
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
||||
"devOptional": true,
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"yaml": "bin.mjs"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"@astrojs/sitemap": "^3.7.1",
|
||||
"@types/nodemailer": "^7.0.4",
|
||||
"astro": "^6.0.8",
|
||||
"astro-gemtext": "git+https://git.joeac.net/joeac/astro-gemtext.git",
|
||||
"gemtext": "^0.2.2",
|
||||
"markdown-it": "^14.1.0",
|
||||
"nodemailer": "^7.0.11",
|
||||
|
||||
@@ -4,7 +4,7 @@ import { z } from "astro/zod";
|
||||
|
||||
const blog = defineCollection({
|
||||
loader: glob({
|
||||
pattern: "**/*.(md|mdx|html)",
|
||||
pattern: "**/*.(md|mdx|gmi|html)",
|
||||
base: "./src/content/blog",
|
||||
}),
|
||||
schema: z.object({
|
||||
|
||||
Reference in New Issue
Block a user