This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Ruby Taiwan community official website, built with Jekyll static site generator. Migrated from a Rails frontend to a Jekyll theme. Site content is in Traditional Chinese (zh-TW).
bundle install # Install dependencies
bundle exec jekyll serve # Start dev server (localhost:4000)
bundle exec jekyll build # Build static site to _site/
bundle exec rubocop # Ruby code style checkJekyll static site with data-driven architecture:
_data/— YAML data files (campaigns, communities, i18n, social_media), the primary content source_events/— Event collection files (Markdown with front matter), sorted by date_layouts/— Page templates:default.html(base HTML),landing.html(homepage),post.html(blog post)_includes/— Reusable Liquid template partials (nav, cover, blogs, events, campaigns, communities, subscription)_posts/— Markdown/HTML blog posts using date-based naming convention_sass/— SASS stylesheets split intobase/(mixin, styleguide) andstyle/(per-section styles), entry point isstyle.sassassets/— Static assets: CSS (main.sasscompile entry), JS (jQuery interactions), images
- Bootstrap 3.4.1, jQuery 3.7.1 (with Easing and TouchSwipe)
- Font Awesome 4.7.0, Google Fonts (Montserrat, Lobster)
- SASS uses indented syntax (
.sass, not.scss)
- Add events: create
YYYY-MM-DD-slug.mdin_events/, front matter requirestitle,date,location,time,event_url; mark ended events withended: true - Add community campaigns: edit
_data/campaigns.yml - Add blog posts: create
YYYY-MM-DD-slug.mdin_posts/, front matter requirestitleand optionalcover - UI translations:
_data/i18n.yml