diff --git a/.gitignore b/.gitignore index a478a5d..6a47554 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ dist/ *.bun **/.*.md .env +public/posts.json +public/notes.json +public/sitemap.json diff --git a/package.json b/package.json index 8c074d0..0ec1505 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "private": true, "scripts": { + "prebuild": "node ./scripts/generate-metadata.js", "dev": "next dev", "build": "next build", "start": "next start", diff --git a/public/notes.json b/public/notes.json deleted file mode 100644 index bad2276..0000000 --- a/public/notes.json +++ /dev/null @@ -1 +0,0 @@ -{"mos-6502":{"title":"MOS 6502 Microprocessor","mtime":"2023-10-29T18:05:52.439Z"},"zilog-z80":{"title":"Zilog Z80 Microprocessor","mtime":"2023-10-29T18:07:08.579Z"},"browsers":{"title":"Web Browsers","mtime":"2024-09-13T08:47:57.942Z"},"steam":{"title":"Steam Client","mtime":"2024-12-28T17:07:10.689Z"},"lua":{"title":"Lua Programming Language","mtime":"2024-12-28T17:00:55.719Z"},"steam-deck":{"title":"Steam Deck","mtime":"2024-12-28T17:10:01.709Z"},"programming-resources":{"title":"Programming Resources","mtime":"2024-12-28T17:29:26.899Z"},"software":{"title":"Software","mtime":"2024-12-28T17:31:45.443Z"}} \ No newline at end of file diff --git a/public/posts.json b/public/posts.json deleted file mode 100644 index 9e26dfe..0000000 --- a/public/posts.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/public/sitemap.json b/public/sitemap.json deleted file mode 100644 index e99fd91..0000000 --- a/public/sitemap.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"PaulW.XYZ","pages":{"posts":{"title":"Posts","pages":{}},"notes":{"title":"Notes","pages":{"mos-6502":{"title":"MOS 6502 Microprocessor","mtime":"2023-10-29T18:05:52.439Z"},"zilog-z80":{"title":"Zilog Z80 Microprocessor","mtime":"2023-10-29T18:07:08.579Z"},"browsers":{"title":"Web Browsers","mtime":"2024-09-13T08:47:57.942Z"},"steam":{"title":"Steam Client","mtime":"2024-12-28T17:07:10.689Z"},"lua":{"title":"Lua Programming Language","mtime":"2024-12-28T17:00:55.719Z"},"steam-deck":{"title":"Steam Deck","mtime":"2024-12-28T17:10:01.709Z"},"programming-resources":{"title":"Programming Resources","mtime":"2024-12-28T17:29:26.899Z"},"software":{"title":"Software","mtime":"2024-12-28T17:31:45.443Z"}}},"about":{"title":"About"},"sitemap":{"title":"Site Map"}}} \ No newline at end of file