Skip to content
Snippets Groups Projects
Commit ebced8da authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Added query string to force css reload on change

parent 315f9e80
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
<meta name="keywords" content="Interludes ENS événement COF {% if settings.date_start %}{{ settings.date_start.year }} {% endif %}InterENS">
<link rel="icon" type="image/png" href="{% static 'imgs/favicon.ico' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}?v={{ constants.CSS_VERSION }}">
<link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome-all.min.css' %}">
{% block head %}{% endblock %}
</head>
......
......@@ -5,3 +5,6 @@ WEBSITE_VERSION_DATE = "2021-04-30"
WEBSITE_FULL_VERSION = "{} - {}".format(
WEBSITE_VERSION, WEBSITE_VERSION_DATE
)
# Update this to force reload of cached css
CSS_VERSION = "1.0"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment