CLAUDE.md

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

Project Overview

TripGazer is a personal travel blog built with Eleventy (11ty) static site generator. The site is deployed at https://www.tripgazer.com/

Commands

npm run dev      # Start development server with live reload
npm run build    # Build static site to _site/
npm run start    # Alias for dev server

Architecture

Eleventy Configuration

Content Structure

Templates

Data

Tipping Calculator

Lives at /tip-calculator/ (EN) and /de/trinkgeld/ (DE), plus one landing page per
country at /tip-<slug>/ and /de/trinkgeld-<slug>/.

To change tipping guidance, edit lib/tipping/ — not the templates:

Flat amounts (per night, per bag) are written once in USD in profiles.js and converted
to local currency at build time, so they never need updating per country.

Run ELEVENTY_SKIP_FX=1 npm run build to skip the exchange-rate fetch during local work.

Key Plugins

Collections

Build Processing

Static Assets (passthrough copy)

Content Strategy

Focus areas:

Avoid (too competitive):

Writing Style Guide

Tone & Voice

Post Structure

Content Patterns

Formatting Conventions