summaryrefslogtreecommitdiffstats
path: root/templates/search.tmpl
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-05-29 21:49:43 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-05-29 21:49:43 -0400
commit6412e0a30cd37cd8b814802f8d24021af7d60bbd (patch)
treec4fc19f7ed1a2ec6ae6f420953b889722139ec6a /templates/search.tmpl
parent4335ba333449e6f5a95a566a9461249bf2dd8e07 (diff)
peach: update static file serving
Add Cache-Control header for static files.
Diffstat (limited to 'templates/search.tmpl')
-rw-r--r--templates/search.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/search.tmpl b/templates/search.tmpl
index 1101f08..d00942c 100644
--- a/templates/search.tmpl
+++ b/templates/search.tmpl
@@ -5,8 +5,8 @@
<title>peach - {{.Title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="siddharth ravikumar">
- <link rel="preload" href="/static/peach.css" as="style" />
- <style>@import url("/static/peach.css");</style>
+ <link rel="preload" href="/static/peach.css?{{ .Version }}" as="style" />
+ <style>@import url("/static/peach.css?{{ .Version }}");</style>
</head>
<body>
<div class="peach">