1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 15:23:54 +00:00

Add Pagefind integration

This commit is contained in:
Korbs 2024-11-14 23:52:50 -05:00
parent 21282c83ac
commit b9ffff1791
2 changed files with 6 additions and 3 deletions

View file

@ -5,6 +5,7 @@ import { SiteSettings } from './config.json'
// Integrations
import mdx from '@astrojs/mdx'
import pagefind from "astro-pagefind"
// Astro Configuration
export default defineConfig({
@ -13,7 +14,8 @@ export default defineConfig({
base: SiteSettings.SiteBase,
// Integrations
integrations: [
mdx()
mdx(),
pagefind()
],
// Server Output
output: "static",

View file

@ -1,7 +1,7 @@
{
"name": "butterflyvu",
"type": "module",
"version": "0.1.2",
"version": "0.1.3",
"license": "GPL-3.0-only",
"author": {
"name": "SudoVanilla"
@ -22,9 +22,9 @@
"email": "support@sudovanilla.org"
},
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"postbuild": "pagefind --root-selector article --site dist/",
"preview": "astro preview",
"docker:start": "docker compose up -d",
"docker:stop": "docker compose down",
@ -39,6 +39,7 @@
"astro-breadcrumbs": "^3.2.0",
"astro-bun-adapter": "^1.0.2",
"astro-feelback": "^0.3.4",
"astro-pagefind": "^1.6.0",
"astro-seo": "^0.8.4",
"markdoc": "^0.1.3"
},