[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/kde-ru] _includes: Use fake versioning to force css/js reload
From: Ilya Bizyaev <null () kde ! org>
Date: 2018-09-21 22:43:00
Message-ID: E1g3U8a-0006FT-JX () code ! kde ! org
[Download RAW message or body]
Git commit 609d4c696a558eb70b1d650db10cc59ec37ab3bc by Ilya Bizyaev.
Committed on 21/09/2018 at 22:41.
Pushed by ilyabizyaev into branch 'master'.
Use fake versioning to force css/js reload
Users reported issues with the cookie banner; the problem is that
client-side code has not yet expired. Using fake versioning to
avoid such problems now and in the future.
M +1 -1 _includes/footer.html
M +1 -1 _includes/head.html
https://commits.kde.org/websites/kde-ru/609d4c696a558eb70b1d650db10cc59ec37ab3bc
diff --git a/_includes/footer.html b/_includes/footer.html
index 637c7c1..23a0f7b 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -47,5 +47,5 @@
<noscript><p><img src="https://stats.kde.org/piwik.php?idsite=27&rec=1" \
style="border:0;" alt="" /></p></noscript> <!-- End Matomo Code -->
-<script src="/js/main.js"></script>
+<script src="/js/main.js?v=1.1"></script>
<button onclick="topFunction()" id="beamUp" title="Вверх"><i class="fa \
fa-angle-up"></i></button>
diff --git a/_includes/head.html b/_includes/head.html
index cb3a69a..a2625f7 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -20,7 +20,7 @@
<!-- Google Fonts CSS -->
<link href="https://fonts.googleapis.com/css?family=Noto+Sans|Roboto" \
rel="stylesheet">
- <link rel="stylesheet" href="/css/main.css" />
+ <link rel="stylesheet" href="/css/main.css?v=1.1" />
{% if page.additional-css %}
<link rel="stylesheet" href="/css/{{ page.additional-css }}.css" />
{% endif %}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic