Source for floci.io, built with Astro and deployed to GitHub Pages.
npm install
npm run dev # http://localhost:4321
npm run build # writes dist/
npm run preview # serves dist/- Add Notes to
src/content/chronicle/notes/<slug>.mdxand long-form stories tosrc/content/chronicle/chronicles/<slug>.mdx. The filename becomes the flat public URL/chronicle/<slug>/, so filenames must be unique across both folders. Do not add a custom frontmatterslug. - Every entry requires
title,description,pubDate, andauthor.subtitle,tags,draft, andheroImageare optional. Keeptitleshort; it is set in very large type. Put the rest insubtitle, which is shown under the heading and joined to the title asTitle: Subtitlefor the browser tab, RSS, and structured data.authoris a handle fromsrc/data/authors.ts(hectorventorfloci-team); an unknown handle fails the build. Labs requireauthortoo. To credit a new person, add them to that file with their name and GitHub, LinkedIn, and X links. Dates order entries within each section; they do not schedule publication. Drafts are visible in development but excluded from production routes and/rss.xml. AheroImagepath underpublic/becomes the entry's index artwork and opened-page banner; add inline images with normal MDX<figure>and<img>elements. - Add a YouTube video with
npm run add:video -- '<youtube-url>'. Commit the page update and the downloaded thumbnail underpublic/chronicle/videos/. - Run
npm run buildbefore publishing. Check/chronicle/, one Note, one Chronicle, legacy/blog/<slug>/redirects, and/rss.xml.
See MAINTAINERS.md.