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:
Ricardo
2026-02-05 10:49:17 +01:00
parent d9c84cad80
commit 73eb019f70
+1 -1
View File
@@ -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>