feat: enhance blog functionality with markdown rendering and bundling

- Updated build process to bundle main and blog scripts separately using esbuild.
- Modified HTML files to reference new bundled JavaScript files for improved performance.
- Implemented a new blogPage.js script to handle markdown rendering and copy functionality.
- Replaced inline markdown rendering with JSON payloads for better separation of content and presentation.
- Added Prism.js for syntax highlighting in blog posts.
- Improved CSS styles for better layout and scrolling behavior on blog pages.
This commit is contained in:
2026-05-10 19:53:19 +10:00
parent 35b049b833
commit a16445dd78
9 changed files with 192 additions and 309 deletions

View File

@@ -604,6 +604,7 @@ body.blog-page {
var(--grid-size) var(--grid-size),
var(--grid-size) var(--grid-size);
background-repeat: repeat;
background-attachment: scroll;
background-position: 0 0, 0 0, 0 0, 0 0;
background-color: var(--bg);
}