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

@ -2,7 +2,7 @@
import { getCollection } from 'astro:content';
import Layout from '../layouts/Layout.astro';
import yaml from 'js-yaml';
import bookmarksRaw from '../data/bookmarks.yaml?raw';
import bookmarksRaw from '../content/bookmarks.yaml?raw';
import fs from 'node:fs';
import path from 'node:path';
import { getApprovedEntries, type GuestbookEntry } from '../lib/db';