Skip to content

Commit 7f01f27

Browse files
committed
Add postbuild script for pagefind and update meta titles
1 parent 9ae7ffc commit 7f01f27

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

content/_meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ export default {
3535
'device-object': { title: 'Device object' },
3636
'---': { type: 'separator' },
3737
'tips-and-tricks': { title: 'Tips & Tricks' },
38-
about: { title: 'About', type: 'page', href: 'https://ensembleui.com' },
39-
contact: { title: 'Ensemble Studio', type: 'page', href: 'https://studio.ensembleui.com' },
38+
about: { title: 'About', type: 'page', href: 'https://ensembleui.com' },
39+
contact: { title: 'Ensemble Studio', type: 'page', href: 'https://studio.ensembleui.com' },
4040
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"dev": "next dev --turbopack",
77
"build": "next build",
8+
"postbuild": "pagefind --site .next/server/app --output-path out/_pagefind",
89
"start": "next start"
910
},
1011
"repository": {
@@ -31,6 +32,7 @@
3132
"@types/node": ">=22",
3233
"@types/react": ">=19",
3334
"@types/react-dom": ">=19",
35+
"pagefind": "^1.2.0",
3436
"typescript": "^5.7.0"
3537
}
3638
}

0 commit comments

Comments
 (0)