diff --git a/CLAUDE.md b/CLAUDE.md index fa4ca3a..438bd41 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,7 +5,6 @@ Cooperative web platform: federated content, commerce, events, and media process ## Deployment - **Do NOT push** until explicitly told to. Pushes reload code to dev automatically. -- **Cache busting:** After editing `sx.js`, bump the `?v=` query string in `shared/sx/helpers.py` (search for `sx.js?v=`). ## Project Structure diff --git a/shared/sx/helpers.py b/shared/sx/helpers.py index 4304d73..ddb2b7b 100644 --- a/shared/sx/helpers.py +++ b/shared/sx/helpers.py @@ -6,6 +6,8 @@ page elements (headers, search, etc.) from template context. """ from __future__ import annotations +import hashlib +from pathlib import Path from typing import Any from markupsafe import escape @@ -482,8 +484,8 @@ details.group{{overflow:hidden}}details.group>summary{{list-style:none}}details.
- - + +