CLAUDE.md

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

Repository purpose

Personal academic website for Nicola Barban (Professor of Demography, University of Bologna), deployed to nicolabarban.com via GitHub Pages (see CNAME). The repo is a fork of the Minimal Mistakes Jekyll theme that has been customized with the user’s content; the upstream theme machinery still lives in the repo unchanged.

What is upstream vs. user content

Treat these as upstream theme files — usually do not edit when changing site content:

Treat these as user site content — edit these for site changes:

Common commands

This site is hosted on GitHub Pages, so production builds happen on GitHub’s side; local commands are only for previewing changes.

bundle install                  # install Ruby/Jekyll dependencies (run once)
bundle exec jekyll serve        # serve the actual site at http://localhost:4000
bundle exec jekyll build        # one-shot static build into _site/

The repo’s Rakefile provides bundle exec rake preview, but that task serves the theme’s test/ demo site, not this user’s site. Use jekyll serve to preview real changes to index.md, the page directories, and _config.yml.

Conventions to be aware of