This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Geek Bites is a static blog site built with Eleventy (11ty) for Move4Mobile developers. The site generates static HTML from Markdown blog posts and Nunjucks templates, with SASS for styling.
npm run start- Start development server with live reload (cleans dist first)npm run build- Build production site to dist/ directorynpm install- Install dependenciesnpm audit fix- Fix security vulnerabilities
npm run check-broken-links- Check both internal and external linksnpm run check-broken-links:internal- Check internal links onlynpm run check-broken-links:external- Check external links only
src/- Source files (input directory)dist/- Generated site outputsrc/posts/- Blog post markdown filessrc/_includes/layouts/- Nunjucks templates (default.njk, post.njk, page.njk, home.njk)src/_sass/- SASS stylesheetssrc/assets/- Static assets (images, icons)src/_data/- Global data files (site.js, people.json)
- Eleventy (eleventy.config.js): Static site generator configuration (ESM)
- SASS compilation: Custom template extension using
sasspackage - Syntax highlighting: Prism.js via @11ty/eleventy-plugin-syntaxhighlight
- RSS feed: Generated via @11ty/eleventy-plugin-rss
- Posts are in
src/posts/as Markdown files - Front matter includes: title, author, date, min_read, permalink
- Posts automatically get "posts" tag and use post layout
- Permalink structure:
{{ date | ymd }}/{{ title | slugify }}/
- Firebase hosting configured (firebase.json)
- Semantic release configured for automated versioning
- Husky hooks for commit message linting (conventional commits)
src/_data/site.js- Site-wide configurationsrc/_data/people.json- Author information- Individual post front matter
- Main SASS entry point:
src/styles.scss - Modular SASS files in
src/_sass/ - Compiled to
dist/styles.css