diff --git a/.gitignore b/.gitignore index db27d541..b85bd162 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ node_modules/ # Claude .claude/ +CLAUDE.local.md +.codegraph/ # Vercel .vercel/ diff --git a/CLAUDE.md b/CLAUDE.md index 414d64d7..1281405c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -126,6 +126,7 @@ Hugo Pipes processes all assets. The key orchestration is in `_partials/base/ass - Use `partialCached` for expensive partials that don't change per page - Use `.Site.Store` for shared computed values (e.g. fingerprint) - Check `hugo.IsProduction` before adding analytics or minification +- Minimize `id` attribute usage — prefer class selectors for styling and JS queries. Reserve `id` for: `