social links now use a different syntax

This commit is contained in:
Christoph Haas 2025-08-21 00:29:34 +02:00
parent 1ead3b9375
commit 53551a583e

View file

@ -1,7 +1,7 @@
// @ts-check // @ts-check
import { defineConfig } from 'astro/config'; import { defineConfig } from "astro/config";
import starlight from '@astrojs/starlight'; import starlight from "@astrojs/starlight";
import sitemap from '@astrojs/sitemap'; import sitemap from "@astrojs/sitemap";
import matomo from "astro-matomo"; import matomo from "astro-matomo";
// https://astro.build/config // https://astro.build/config
@ -11,10 +11,10 @@ export default defineConfig({
starlight({ starlight({
lastUpdated: true, lastUpdated: true,
title: "ISPmail Guide", title: "ISPmail Guide",
social: { social: [
github: "https://github.com/Signum/workaround-astro-starlight", { icon: "github", label: "GitHub", href: "https://github.com/Signum/workaround-astro-starlight" },
matrix: "https://riot.im/app/#/room/#ispmail:matrix.org", { icon: "matrix", label: "Matrix", href: "https://riot.im/app/#/room/#ispmail:matrix.org" },
}, ],
// https://expressive-code.com/key-features/word-wrap/#configuration // https://expressive-code.com/key-features/word-wrap/#configuration
components: { components: {
Footer: "./src/components/Footer.astro", Footer: "./src/components/Footer.astro",