diff --git a/README.md b/README.md index f3fc16c..649f943 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Personal website created with Astro. - [x] Form handling via [Netlify Forms](https://www.netlify.com/products/forms/) - [x] Comment system via [utterances](https://utteranc.es/) - [x] RSS Feed for articles -- [ ] SEO optimized +- [x] SEO optimized ## License diff --git a/astro.config.mjs b/astro.config.mjs index 5169651..50ab317 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,6 +1,6 @@ import solid from "@astrojs/solid-js"; // import image from "@astrojs/image"; -// import compress from 'astro-compress' +import compress from "astro-compress"; import mdx from "@astrojs/mdx"; import sitemap from "@astrojs/sitemap"; import { defineConfig } from "astro/config"; @@ -33,6 +33,7 @@ export default defineConfig({ }, }), // image(), + compress(), mdx({ remarkPlugins: [remarkGfm, remarkSmartypants], rehypePlugins: [ diff --git a/package-lock.json b/package-lock.json index 09f2ec4..90aa7d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/parser": "^5.33.1", "astro": "^1.0.6", - "astro-compress": "^1.0.1", + "astro-compress": "^1.0.3", "astro-icon": "^0.7.3", "eslint": "^8.22.0", "eslint-plugin-solid": "^0.7.1", @@ -33,7 +33,7 @@ "rehype-slug": "^5.0.1", "remark-gfm": "^3.0.1", "remark-smartypants": "^2.0.0", - "sass": "^1.54.4", + "sass": "^1.54.5", "solid-js": "^1.4.8" } }, @@ -1641,9 +1641,9 @@ } }, "node_modules/astro-compress": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/astro-compress/-/astro-compress-1.0.1.tgz", - "integrity": "sha512-6w8n4KF5KbvEp86E5uUsRMB1uWNz04gml9EkyDXi5+7r8NKG/efOu+TVyhIaj7QWDevdDXLYPrMH//9HyNtCWA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/astro-compress/-/astro-compress-1.0.3.tgz", + "integrity": "sha512-ap6nWvEP8itiitrrmfJ9POPWRmRIL21L0sQ6pDlsPRTGQt+4C3VtvfbXRWYDjU86eRgEbZIrUa8wRufkvhwSyw==", "dev": true, "dependencies": { "csso": "5.0.5", @@ -7979,9 +7979,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.54.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", - "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", + "version": "1.54.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.5.tgz", + "integrity": "sha512-p7DTOzxkUPa/63FU0R3KApkRHwcVZYC0PLnLm5iyZACyp15qSi32x7zVUhRdABAATmkALqgGrjCJAcWvobmhHw==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -10796,9 +10796,9 @@ } }, "astro-compress": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/astro-compress/-/astro-compress-1.0.1.tgz", - "integrity": "sha512-6w8n4KF5KbvEp86E5uUsRMB1uWNz04gml9EkyDXi5+7r8NKG/efOu+TVyhIaj7QWDevdDXLYPrMH//9HyNtCWA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/astro-compress/-/astro-compress-1.0.3.tgz", + "integrity": "sha512-ap6nWvEP8itiitrrmfJ9POPWRmRIL21L0sQ6pDlsPRTGQt+4C3VtvfbXRWYDjU86eRgEbZIrUa8wRufkvhwSyw==", "dev": true, "requires": { "csso": "5.0.5", @@ -15223,9 +15223,9 @@ "dev": true }, "sass": { - "version": "1.54.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", - "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", + "version": "1.54.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.5.tgz", + "integrity": "sha512-p7DTOzxkUPa/63FU0R3KApkRHwcVZYC0PLnLm5iyZACyp15qSi32x7zVUhRdABAATmkALqgGrjCJAcWvobmhHw==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", diff --git a/package.json b/package.json index ebd395a..dcac79c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/parser": "^5.33.1", "astro": "^1.0.6", - "astro-compress": "^1.0.1", + "astro-compress": "^1.0.3", "astro-icon": "^0.7.3", "eslint": "^8.22.0", "eslint-plugin-solid": "^0.7.1", @@ -43,7 +43,7 @@ "rehype-slug": "^5.0.1", "remark-gfm": "^3.0.1", "remark-smartypants": "^2.0.0", - "sass": "^1.54.4", + "sass": "^1.54.5", "solid-js": "^1.4.8" } }