Add Pagefind integration
This commit is contained in:
parent
21282c83ac
commit
b9ffff1791
2 changed files with 6 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue