Retouch all pages and add 'Engaged in Reality'

This commit is contained in:
Bad Manners 2024-11-01 19:44:34 -03:00
parent 1dda4c9af8
commit b03aca87e7
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
37 changed files with 1701 additions and 553 deletions

View file

@ -4,37 +4,43 @@ import markdownIntegration from "@astropub/md";
import mdxIntegration from "@astrojs/mdx";
import htaccessIntegration from "astro-htaccess";
import pagefindIntegration from "astro-pagefind";
import alpinejsIntegration from "@astrojs/alpinejs";
import { AI_BOTS } from "./src/data/ai_bots";
import alpinejs from "@astrojs/alpinejs";
// https://astro.build/config
export default defineConfig({
site: "https://gallery.badmanners.xyz",
integrations: [tailwindIntegration({
applyBaseStyles: false,
}), markdownIntegration(), mdxIntegration(), htaccessIntegration({
generateHtaccessFile: import.meta.env.APACHE_CONFIG === "true",
customRules: [
// Block AI bots
"<IfModule mod_rewrite.c>",
" RewriteEngine on",
" RewriteBase /",
` RewriteCond %{HTTP_USER_AGENT} ${AI_BOTS.map((bot) => `^${bot}$`).join("|")} [NC]`,
" RewriteRule ^ [F]",
"</IfModule>",
],
redirects: [
{
match: "/story/",
url: "/stories/",
},
{
match: "/game/",
url: "/games/",
},
],
}), pagefindIntegration(), alpinejs()],
integrations: [
tailwindIntegration({
applyBaseStyles: false,
}),
markdownIntegration(),
mdxIntegration(),
alpinejsIntegration(),
pagefindIntegration(),
htaccessIntegration({
generateHtaccessFile: import.meta.env.APACHE_CONFIG === "true",
customRules: [
// Block AI bots
"<IfModule mod_rewrite.c>",
" RewriteEngine on",
" RewriteBase /",
` RewriteCond %{HTTP_USER_AGENT} ${AI_BOTS.map((bot) => `^${bot}$`).join("|")} [NC]`,
" RewriteRule ^ [F]",
"</IfModule>",
],
redirects: [
{
match: "/story/",
url: "/stories/",
},
{
match: "/game/",
url: "/games/",
},
],
}),
],
markdown: {
smartypants: false,
shikiConfig: {
@ -63,4 +69,4 @@ export default defineConfig({
},
},
},
});
});