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