refactor: move bookmarks.yaml into content directory

This commit is contained in:
Lewis Wynne 2026-01-29 01:20:30 +00:00
parent 87c8260c80
commit ff39ba2e1a
6 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ for (const txt of txtFiles) {
}
// Count bookmarks
const bookmarksFile = path.join(root, 'src/data/bookmarks.yaml');
const bookmarksFile = path.join(root, 'src/content/bookmarks.yaml');
const bookmarks = fs.existsSync(bookmarksFile)
? yaml.load(fs.readFileSync(bookmarksFile, 'utf-8')) || []
: [];