diff --git a/templates/layouts/base.html b/templates/layouts/base.html index 8780379..6e6e782 100644 --- a/templates/layouts/base.html +++ b/templates/layouts/base.html @@ -111,13 +111,16 @@ {{define "markdown_assets"}} {{/* Markdown rendering assets: marked (pinned UMD build), DOMPurify, highlight.js and the shared renderer + styles. Include on any page that - renders Markdown (articles, comments, editor previews). */}} + renders Markdown (articles, comments, editor previews). + Local static files carry a ?v= cache-buster: bump it whenever + static/js/markdown.js or static/css/markdown.css changes, otherwise + browsers may keep serving stale cached copies. */}} - + - + {{end}} {{define "footer"}}