Skip to content

Commit ce2d528

Browse files
committed
adding css query to try to prevent caching
1 parent 084819f commit ce2d528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/layouts/default.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width">
77
<meta name="description" content="p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.">
88
<title tabindex="1">{{title}} | p5.js</title>
9-
<link rel="stylesheet" href="/{{assets}}/css/all.css">
9+
<link rel="stylesheet" href="/{{assets}}/css/all.css?v=1.0.0">
1010
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
1111

1212
<link rel="shortcut icon" href="/{{assets}}/img/favicon.ico">
@@ -17,7 +17,7 @@
1717
<script src="/{{assets}}/js/vendor/ace-nc/ace.js"></script>
1818
<script src="/{{assets}}/js/vendor/ace-nc/mode-javascript.js"></script>
1919
<script src="/{{assets}}/js/vendor/prism.js"></script>
20-
<script src="/{{assets}}/js/init.js"></script>
20+
<script src="/{{assets}}/js/init.js?v=1.0.0"></script>
2121

2222
{{#ifLowerCaseEquals language "zh-Hans"}}
2323
<script src="/{{assets}}/js/vendor/pangu.min.js"></script>

0 commit comments

Comments
 (0)