Implement cache busting (#337)

This commit is contained in:
Francis Lavoie 2023-08-11 12:03:17 -04:00 committed by GitHub
parent 254e415a61
commit c66f785fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 85 additions and 56 deletions

View file

@ -2,9 +2,10 @@
<html>
<head>
<title>Dashboard - Caddy</title>
{{include "/includes/account/head.html"}}
<link rel="stylesheet" href="/resources/css/account/dashboard.css">
<script src="/resources/js/account/dashboard.js"></script>
{{import "/includes/account/head.html"}}
{{template "account-head"}}
<link rel="stylesheet" href="/resources/css/account/dashboard.css{{template "cacheBust"}}">
<script src="/resources/js/account/dashboard.js{{template "cacheBust"}}"></script>
</head>
<body>
<div class="container">
@ -29,4 +30,4 @@
</main>
</div>
</body>
</html>
</html>