Update Astro config
This commit is contained in:
parent
31c18af170
commit
c7fd39e81e
4 changed files with 627 additions and 177 deletions
|
@ -10,14 +10,17 @@ import expressiveCode from "astro-expressive-code";
|
|||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: SITE.website,
|
||||
integrations: [sitemap({
|
||||
filter: page => SITE.showArchives || !page.endsWith("/archives"),
|
||||
}), expressiveCode()],
|
||||
integrations: [
|
||||
sitemap({
|
||||
filter: (page) => SITE.showArchives || !page.endsWith("/archives"),
|
||||
}),
|
||||
expressiveCode(),
|
||||
],
|
||||
markdown: {
|
||||
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
|
||||
shikiConfig: {
|
||||
// For more themes, visit https://shiki.style/themes
|
||||
themes: { light: "min-light", dark: "night-owl" },
|
||||
themes: { light: "catppuccin-latte", dark: "catppuccin-frappe" },
|
||||
wrap: true,
|
||||
},
|
||||
},
|
||||
|
@ -30,10 +33,9 @@ export default defineConfig({
|
|||
image: {
|
||||
// Used for all Markdown images; not configurable per-image
|
||||
// Used for all `<Image />` and `<Picture />` components unless overridden with a prop
|
||||
experimentalLayout: "responsive",
|
||||
experimentalLayout: "full-width",
|
||||
},
|
||||
experimental: {
|
||||
svg: true,
|
||||
responsiveImages: true,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"@resvg/resvg-js": "^2.6.2",
|
||||
"@tailwindcss/vite": "^4.0.12",
|
||||
"@types/sanitize-html": "^2.13.0",
|
||||
"astro": "^5.4.2",
|
||||
"astro": "^5.7.13",
|
||||
"astro-expressive-code": "^0.40.2",
|
||||
"lodash.kebabcase": "^4.1.1",
|
||||
"markdown-it": "^14.1.0",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
pubDatetime: 2025-03-20
|
||||
title: "Deploying my websites on Coolify"
|
||||
description: Dropping as much Big Tech products as possible. Enter, Coolify.
|
||||
featured: true
|
||||
tags:
|
||||
- coolify
|
||||
- selfhosting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue