Move friend buttons to front page&re-encode images
Thanks specifically to @LeNooby09 for borking your website and making my website have a borked image >:3
This commit is contained in:
parent
5a72c0519e
commit
5153e2deef
5 changed files with 189 additions and 132 deletions
|
@ -1,10 +1,10 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { remarkModifiedTime } from './remark-modified-time.mjs';
|
||||
import { defineConfig } from "astro/config";
|
||||
import { remarkModifiedTime } from "./remark-modified-time.mjs";
|
||||
|
||||
import preact from "@astrojs/preact";
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
import node from '@astrojs/node';
|
||||
import node from "@astrojs/node";
|
||||
|
||||
import icon from "astro-icon";
|
||||
|
||||
|
@ -12,23 +12,47 @@ import mdx from "@astrojs/mdx";
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: process.env.DOCKER_BUILD ? 'server' : 'static',
|
||||
site: "https://aria.coffee",
|
||||
integrations: [preact(), tailwind(), icon(), mdx()],
|
||||
output: process.env.DOCKER_BUILD ? "server" : "static",
|
||||
site: "https://aria.coffee",
|
||||
integrations: [preact(), tailwind(), icon(), mdx()],
|
||||
|
||||
image: {
|
||||
domains: ["buymymojo.net", "aria.coffee", "github.com", "githubusercontent.com", "avatars.githubusercontent.com", "camo.githubusercontent.com", "user-images.githubusercontent.com", "private-user-images.githubusercontent.com"],
|
||||
},
|
||||
markdown: {
|
||||
remarkPlugins: [remarkModifiedTime],
|
||||
},
|
||||
image: {
|
||||
domains: [
|
||||
"buymymojo.net",
|
||||
"aria.coffee",
|
||||
"github.com",
|
||||
"githubusercontent.com",
|
||||
"avatars.githubusercontent.com",
|
||||
"camo.githubusercontent.com",
|
||||
"user-images.githubusercontent.com",
|
||||
"private-user-images.githubusercontent.com",
|
||||
"alyxia.dev",
|
||||
"nanoshinono.me",
|
||||
"ata.moe",
|
||||
"buh.moe",
|
||||
"hayden.moe",
|
||||
"onz.ee",
|
||||
"notnite.com",
|
||||
"erisdump.neocities.org",
|
||||
"espi.me",
|
||||
"alula.me",
|
||||
"sapphic.moe",
|
||||
"calayucu.com",
|
||||
"meow-d.github.io",
|
||||
"girlthi.ng",
|
||||
"lenooby09.tech",
|
||||
"ackwell.au",
|
||||
],
|
||||
},
|
||||
markdown: {
|
||||
remarkPlugins: [remarkModifiedTime],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
// Bellow is for when dedicated server is wanted?
|
||||
|
||||
// ,
|
||||
//
|
||||
// adapter: node({
|
||||
// mode: "standalone",
|
||||
// })
|
||||
// })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue