templates: bust all js caches with resource_version

This commit is contained in:
Zankaria authored and Zankaria committed 2024-09-19 22:01:51 +02:00
1 parent bd5c2c61b9
commit 9fbc816205
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<script src="{{ config.additional_javascript_url }}js/mod/recent-posts.js"></script>
<script src="{{ config.additional_javascript_url }}js/mod/recent-posts.js?v={{ config.resource_version }}"></script>
{% if not posts|length %}
<p style="text-align:center" class="unimportant">({% trans 'There are no active posts.' %})</p>
{% else %}