Re-add cache busting

Fix docs
This commit is contained in:
Francis Lavoie 2023-11-19 06:28:06 -05:00
parent 09b9c74bfc
commit 5e93103dce
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
8 changed files with 46 additions and 31 deletions

View file

@ -4,7 +4,7 @@
<title>Caddy for Business</title>
{{import "/includes/head.html"}}
{{template "head"}}
<link rel="stylesheet" href="/resources/css/business.css">
<link rel="stylesheet" href="/resources/css/business.css{{template "cacheBust"}}">
<meta property="og:title" content="Caddy 2 for Business">
<meta name="twitter:title" value="Caddy 2 for Business">
</head>

View file

@ -49,9 +49,10 @@
<!-- Alpine.js to augment markdown docs -->
<script src="https://cdn.jsdelivr.net/npm/@alpinejs/persist@3.x.x/dist/cdn.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
{{end}}
<!-- TODO: These don't work -- color values need to be tweaked if they do work -- I think because background-color is set on the body. -->
<meta name="theme-color" content="#123245" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#123245" media="(prefers-color-scheme: dark)">
{{end}}