- Improved schema validation - Move username parsing and other validators to schema types - Fix astro check command - Add JSON/YAML schema validation for data collections - Update licenses - Remove deployment script in favor of rsync - Prevent unsanitized input in export-story script - Change "eng" language to "en", per BCP47 - Clean up i18n keys and add aria attributes - Improve MastodonComments behavior on no-JS browsers
26 lines
595 B
JavaScript
26 lines
595 B
JavaScript
import { defineConfig } from "astro/config";
|
|
import tailwindIntegration from "@astrojs/tailwind";
|
|
import markdownIntegration from "@astropub/md";
|
|
import pagefindIntegration from "astro-pagefind";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://gallery.badmanners.xyz",
|
|
integrations: [
|
|
tailwindIntegration({
|
|
applyBaseStyles: false,
|
|
}),
|
|
markdownIntegration(),
|
|
pagefindIntegration(),
|
|
],
|
|
markdown: {
|
|
smartypants: false,
|
|
},
|
|
build: {
|
|
assets: "assets",
|
|
},
|
|
outDir: "./dist",
|
|
redirects: {
|
|
"/stories": "/stories/1",
|
|
},
|
|
});
|