This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Hugo static site for pair.guide - "Notes on pair-coding with AI". The site uses a custom Hugo theme located in themes/pair.guide/.
hugo server -DRun local development server with draft content enabled. The site will be available at http://localhost:1313 with live reload.
hugoBuild the production site. Output is generated in the public/ directory.
hugo new content/posts/post-name/index.mdCreates a new post in the content/posts directory using the archetype template. Posts use the page bundle format (index.md inside a directory).
The custom theme pair.guide is located in themes/pair.guide/ and follows Hugo's standard theme structure:
- layouts/: HTML templates using Hugo's template syntax
baseof.html: Base template with header/main/footer structurehome.html: Homepage template that lists all regular pages_partials/: Reusable template components (header, footer, menu, head)
- assets/: CSS and JS files that are processed by Hugo
css/main.css: Main stylesheet with minimal, clean stylingjs/main.js: JavaScript functionality
- content/: Example content (actual content is in root
content/directory)
- All blog posts are in
content/posts/using page bundles (directory withindex.md) - Posts use TOML front matter with
date,draft, andtitlefields - The root
hugo.tomlconfigures the site with base URL, permalinks structure (/posts/:slug/)
- Root
hugo.toml: Main site configuration (baseURL, title, theme, permalinks) - Theme
hugo.toml: Theme-specific config (menu structure, Hugo version requirements)
Requires Hugo v0.146.0 or higher (currently using v0.150.1+extended).