general: add a timestamp to static URLs, to avoid caching issues (#80228)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7178f7c4d0
commit
a19073c7e9
|
@ -1,12 +1,12 @@
|
|||
{% extends "gadjo/base.html" %}
|
||||
{% load i18n static %}
|
||||
{% load gadjo i18n static %}
|
||||
{% block page-title %}Passerelle{% endblock %}
|
||||
{% block site-title %}Passerelle{% endblock %}
|
||||
{% block footer %}Passerelle — Copyright © Entr'ouvert{% endblock %}
|
||||
|
||||
{% block extrascripts %}
|
||||
{{ block.super }}
|
||||
<script src="{% static "js/passerelle.js" %}"></script>
|
||||
<script src="{% static "js/passerelle.js" %}?{% start_timestamp %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block logout-url %}{% url 'auth_logout' %}{% endblock %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% load i18n gadjo static %}
|
||||
|
||||
{% block extrascripts %}
|
||||
<script src="{% static "js/slugify.js" %}"></script>
|
||||
<script src="{% static "js/slugify.js" %}?{% start_timestamp %}"></script>
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue