templates: bust all js caches with resource_version

This commit is contained in:
Zankaria
2024-08-22 00:09:28 +02:00
committed by Zankaria
parent bd5c2c61b9
commit 9fbc816205
4 changed files with 10 additions and 10 deletions

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 %}