aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-05-04 01:05:04 +0200
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-05-04 13:34:10 +0200
commitfe7c149811f2e20c055ad0375aff05d29491efb4 (patch)
tree8df0652a35cca0f9c8fcb5fb90648fef2f8415b4 /astro.config.mjs
parent3de434508e0b609dea1ce8dca94ef1b708e61d61 (diff)
Rebuild the site in Astro
Add licence Update site name in header to match README.md Add missing metadescription, opengraph and link to RSS Update Astro configuration to include sitemap integration with priority and changefreq settings New post
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs16
1 files changed, 16 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
new file mode 100644
index 0000000..05c5e69
--- /dev/null
+++ b/astro.config.mjs
@@ -0,0 +1,16 @@
+import sitemap from '@astrojs/sitemap';
+import { defineConfig } from 'astro/config';
+
+// https://astro.build/config
+export default defineConfig({
+ compressHTML: true,
+ site: "https://www.costas.dev",
+ integrations: [sitemap({
+ priority: 0.5,
+ changefreq: 'weekly'
+ })],
+ build: {
+ assets: 'assets',
+ inlineStylesheets: 'never'
+ }
+});