diff --git a/CLAUDE.md b/CLAUDE.md index 0c3c3b2..c9d8098 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,9 +10,12 @@ Personal homepage built with Zola. - `content/` — Markdown content - `blog/` — Blog posts - `lib/` — Library/reference articles - - `triforce_strategies/` — Triforce Strategies LLC content + - `triforce-strategies/` — Triforce Strategies LLC content + - `tools/` — Interactive calculators/tools +- `templates/shortcodes/` — Custom shortcodes (override theme) +- `static/js/` — JavaScript files +- `static/css/` — CSS files - `themes/tabi-lean/` — Theme (git subtree, do not edit directly) -- `static/` — Static assets - `config.toml` — Site configuration ## Content Conventions @@ -20,5 +23,29 @@ Personal homepage built with Zola. - Section indices: `_index.md` - Internal links: `@/path/to/file.md` +## Adding Interactive Tools + +To add a new tool under `triforce-strategies/tools/`: + +1. **Create shortcode**: `templates/shortcodes/tool_name.html` + - HTML structure (form, canvas, results container) + - Load JS via `{{ get_url(path='js/toolName.js') | safe }}` + - Include `