CLAUDE.md

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

Local development

docker run --rm --volume="$PWD:/srv/jekyll" --name luuranet -p 4000:4000 jekyll/jekyll:4.0 jekyll serve

Site available at http://localhost:4000/. Changes auto-reload with ~1 min delay.

Stop: docker stop luuranet

Build only (useful for checking errors): bundle exec jekyll build

Architecture

Jekyll static site with a customized beautiful-jekyll theme. Deployed to Netlify via bundle install && bundle exec jekyll build.

Collections (under content/)

Directory Collection Purpose
content/_kilpailut/ site.kilpailut Competition entries — use date_event for event date, date for publish date
content/_posts/ standard posts News/articles — use frontpage: true to show on front page
content/_static_pages/ site.static_pages Static content pages (info, nuoriso, etc.)

Uploads (images, result lists, etc.) go in uploads/.

Key front matter fields

Kilpailut (layout: post): title, date_event, date, excerpt, sticky, frontpage

Posts (layout: post): title, date, sticky, frontpage

Static pages (layout: page): title, permalink

Content language

All content is in Finnish.

CMS

Netlify CMS is available at /admin for non-technical editors. Configuration is in admin/config.yml.