This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Jekyll-based personal blog and portfolio site hosted on GitHub Pages. The site features a bilingual interface (English and Spanish) with blog posts written in Markdown, styled using Tailwind CSS.
# Install Ruby dependencies
bundle install
# Start Jekyll development server (default port 4000)
bundle exec jekyll serve
# Build the static site
bundle exec jekyll build
# Install Node dependencies
npm install
# Development mode (watch for changes)
npm run dev
# Production build (minified CSS)
npm run prod
Run both Jekyll and Tailwind in separate terminals:
bundle exec jekyll servenpm run devThe site implements a custom multilingual architecture without using jekyll-multiple-languages-plugin:
index.md for English, es.md for Spanish)lang front matter and directory structure:
_posts/YYYY-MM-DD-title.md (lang: es)_posts/en/YYYY-MM-DD-title.md (lang: en)_data/navigation.ymlhome.html layout filters posts using: ``Tailwind is integrated with Jekyll using a custom build process:
src/input.css contains Tailwind directives and custom layer stylesassets/css/styles.css (generated, not committed)@layer base for the .post classtailwind.config.js to scan _layouts/**/*.html and _includes/**/*.htmldefault.html: Base layout with meta tags, Google Analytics, and includes header/footerhome.html: Extends default, displays filtered list of posts by languagepost.html: Extends default, renders individual blog post contentAll blog posts must include:
---
layout: post
title: "Post Title"
subtitle: "Post Subtitle"
summary: "Brief summary for listings"
image: /assets/images/image.png # For social media cards
lang: en # or 'es'
categories:
- category1
- category2
---
_config.yml: Site-wide Jekyll configuration including plugins (jekyll-sitemap)_data/navigation.yml: Language switcher links configurationtailwind.config.js: Tailwind content paths and custom font family (Raleway).devcontainer/devcontainer.json: DevContainer setup with Jekyll, Node.js, and Claude Code_posts/YYYY-MM-DD-slug.md_posts/en/YYYY-MM-DD-slug.mdassets/images/ directory/YYYY/MM/DD/slug.htmlCustom post styles are defined in src/input.css using Tailwind’s @layer base directive. The .post class provides consistent typography for:
Husky is configured but the pre-commit hook is currently minimal. The hook infrastructure is in place at .husky/pre-commit.