fix: add cache-busting hash to webmentions.js script tag
Prevents browsers from serving stale JS when the file changes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -333,6 +333,6 @@
|
|||||||
document.documentElement.addEventListener('touchstart', prefetch, { capture: true, passive: true });
|
document.documentElement.addEventListener('touchstart', prefetch, { capture: true, passive: true });
|
||||||
</script>
|
</script>
|
||||||
{# Client-side webmention fetcher - supplements build-time cache with real-time data #}
|
{# Client-side webmention fetcher - supplements build-time cache with real-time data #}
|
||||||
<script src="/js/webmentions.js" defer></script>
|
<script src="/js/webmentions.js?v={{ '/js/webmentions.js' | hash }}" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user