CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a personal blog built with Jekyll using the Minimal Mistakes theme. The site is hosted on GitHub Pages and available at https://jesuswasrasta.com.

Theme: Minimal Mistakes Jekyll Theme (remote theme from mmistakes/minimal-mistakes@4.24.0) Site Owner: Ferdinando Santacroce Repository: jesuswasrasta/jesuswasrasta.github.io

Development Commands

Local Development

Native Jekyll

# Install dependencies
bundle install

# Serve locally for development
bundle exec jekyll serve

# Serve with incremental builds (reloads _config.yml changes)
bundle exec jekyll serve --incremental
# Build and start the container
docker-compose up --build

# Run in detached mode
docker-compose up -d --build

# Stop the container
docker-compose down

# Rebuild after dependency changes
docker-compose build --no-cache

The site will be available at http://localhost:4000

JavaScript Build Process

# Build and minify JavaScript
npm run build:js

# Watch for JS changes and rebuild
npm run watch:js

Project Structure

Key Configuration

Jekyll Plugins

The site uses these key Jekyll plugins (defined in _config.yml):

Content Types

Site Features

Dependencies

Ruby Dependencies (Gemfile)

Node.js Dependencies (package.json)

Common Issues & Solutions

Bundle Install Issues

If bundle install fails due to nokogiri dependency:

sudo apt-get install gcc ruby-dev libxslt-dev libxml2-dev zlib1g-dev

Jekyll Serve Issues

Always use bundle exec jekyll serve instead of jekyll serve to avoid gem version conflicts.

Docker Notes

Content Guidelines