website/astro.config.ts

31 lines
1 KiB
TypeScript
Raw Permalink Normal View History

2025-01-25 14:09:07 +00:00
import { defineConfig, passthroughImageService } from "astro/config"
2025-06-02 22:31:52 -04:00
import starlight from "@astrojs/starlight"
2025-01-21 19:25:58 +00:00
export default defineConfig({
trailingSlash: "never",
build: { format: "directory" },
2025-06-02 22:31:52 -04:00
integrations: [
starlight({
title: "Federated Nexus",
description:
"Federated Nexus is a community resource hosting multiple FOSS (especially federated) services, including Matrix and Forgejo.",
2025-06-08 21:53:49 -04:00
favicon: "/images/icon.svg",
2025-06-02 22:31:52 -04:00
logo: {
2025-06-08 21:53:49 -04:00
src: "./src/images/icon.svg",
2025-06-02 22:31:52 -04:00
},
social: [
{
icon: "seti:git",
label: "Source Code",
href: "https://git.federated.nexus",
},
{
icon: "mastodon",
label: "Mastodon",
href: "https://wetdry.world/@QuadRadical",
},
],
}),
],
2025-01-25 14:09:07 +00:00
image: { service: passthroughImageService() },
2025-01-21 19:25:58 +00:00
})