Update navbar in GalleryLayout and add astro-htaccess
This commit is contained in:
parent
6ff0de4a50
commit
287f2cae2f
8 changed files with 163 additions and 33 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { defineConfig, envField } from "astro/config";
|
||||
import tailwindIntegration from "@astrojs/tailwind";
|
||||
import markdownIntegration from "@astropub/md";
|
||||
import htaccessIntegration from "astro-htaccess";
|
||||
import pagefindIntegration from "astro-pagefind";
|
||||
|
||||
// https://astro.build/config
|
||||
|
|
@ -11,6 +12,10 @@ export default defineConfig({
|
|||
applyBaseStyles: false,
|
||||
}),
|
||||
markdownIntegration(),
|
||||
htaccessIntegration({
|
||||
generateHtaccessFile: import.meta.env.APACHE_CONFIG === "true",
|
||||
redirects: [ { match: "/story/", url: "/stories/" }, { match: "/game/", url: "/games/" } ],
|
||||
}),
|
||||
pagefindIntegration(),
|
||||
],
|
||||
markdown: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue