Personal blog of Rock Martel-Langlois. Built on the AstroPaper theme by Sat Naing, dark-mode only, deployed to GitHub Pages, served at blog.darko.vision.
npm install
npm run dev # http://localhost:4321
npm run build # produces ./dist/Requires Node ≥22.
Posts live in src/data/blog/. Frontmatter fields (see src/content.config.ts for the schema): title, description, pubDatetime, optional modDatetime, tags, featured, draft, ogImage, canonicalURL.
Posts with draft: true are excluded from the homepage, archive, RSS feed, sitemap, and search index.
- Dark mode hardcoded (
<html data-theme="dark">insrc/layouts/Layout.astro);SITE.lightAndDarkMode = falseremoves the toggle button. - Edit-post link disabled (
SITE.editPost.enabled = false). - Socials in
src/constants.ts: GitHub + LinkedIn + Mail. - Sample/docs posts removed; site identity in
src/config.ts.
Pushes to main trigger .github/workflows/deploy.yml, which builds via withastro/action on Node 22 and deploys to GitHub Pages.
Theme files retain the original MIT license from AstroPaper upstream. Post content is © Rock Martel-Langlois.