Yoel Cabo

CLAUDE.md

Documentation for working with Yoel Cabo’s personal website.

Overview

This is a bilingual (Catalan/English) personal website built with Jekyll. It features blog posts and projects, with a clean, minimalist design.

Live site: https://yoel.cat

Tech Stack

Project Structure

my-website/
├── _config.yml              # Main Jekyll configuration
├── _data/                   # Data files
│   ├── author.yml          # Author profile & social links
│   └── bio.yml             # Biography in CA/EN
├── _includes/              # Reusable components
│   ├── bio.html
│   ├── head.html
│   ├── header.html
│   ├── footer.html
│   └── category-modal.html
├── _layouts/               # Page templates
│   ├── main.html          # Default layout
│   ├── post.html          # Blog post layout
│   └── empty.html         # Minimal layout for projects
├── all_collections/        # Content collections
│   ├── _posts/            # Blog posts (Markdown)
│   └── _projects/         # Project pages (HTML)
├── assets/
│   ├── css/               # Stylesheets
│   ├── js/                # JavaScript
│   └── icons/             # Social media icons
├── index.html             # Catalan homepage
├── en.html                # English homepage
└── 404.md                 # 404 page

Language Support

The site supports two languages with manual routing:

Content is filtered by lang frontmatter:

Content Types

Blog Posts

Location: all_collections/_posts/

Naming convention: YYYY-MM-DD-slug.md

Frontmatter example:

---
layout: post
title: El paràmetre si= de Youtube
categories: [privacitat, youtube]
lang: ca
---

Posts are displayed on the homepage filtered by language. Permalink format: /:title/

Projects

Location: all_collections/_projects/

Projects use HTML files with layout: empty and custom permalink structure. Multiple numbered versions of projects (e.g., 2cotxes.html, 3cotxes.html) suggest iterative project development.

Development

Local Setup

# Install dependencies
bundle install

# Serve locally
bundle exec jekyll serve

# Build for production
bundle exec jekyll build

The built site is output to _site/ directory.

Creating a New Post

  1. Create file: all_collections/_posts/YYYY-MM-DD-slug.md
  2. Add frontmatter with layout: post, title, categories, and lang
  3. Write content in Markdown
  4. Jekyll will automatically generate the page

Customization

Deployment

The site uses GitHub Pages (indicated by CNAME file). Commits to the main branch trigger automatic deployment.

Git Status

Current untracked posts (as of last check):

These may be drafts or pending publication.

Key Files Reference

Notes